diff options
author | Reed Kotler <rkotler@mips.com> | 2013-01-16 17:10:28 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2013-01-16 17:10:28 +0000 |
commit | 7dfd18275259df609f8574a25302fc73a000aa64 (patch) | |
tree | e2b9b36fdaeaff541a3fc653d0cea0905c9556b8 /lib/CodeGen/TargetInfo.cpp | |
parent | 93cf969df9afb22028aa8b4d575fa55681d1ec56 (diff) |
First step in implementation of mips16 and nomips16 attributes.
Waiting for new llvm attribute code for the next step.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172626 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 1b44352b38..9811143c8d 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -3884,6 +3884,13 @@ public: return 29; } + void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV, + CodeGen::CodeGenModule &CGM) const { + // + // can fill this in when new attribute work in llvm is done. + // attributes mips16 and nomips16 need to be handled here. + // + } bool initDwarfEHRegSizeTable(CodeGen::CodeGenFunction &CGF, llvm::Value *Address) const; |