diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-02-19 21:39:31 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-02-19 21:39:31 +0000 |
commit | 96b1d4b4eb6b18dd6df7a2c0833332b45840580f (patch) | |
tree | 5c389038723168572e7e35c9f10d3460ad7354ca /lib/CodeGen/TargetInfo.cpp | |
parent | b20f5c6f79968ce57ebb6222f0d2e7f51908d1be (diff) |
Revert 125820 and 125819 to fix PR9266.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index f95aab0744..881a7ee4d0 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -355,14 +355,6 @@ bool UseX86_MMXType(const llvm::Type *IRType) { IRType->getScalarSizeInBits() != 64; } -static const llvm::Type* X86AdjustInlineAsmType(CodeGen::CodeGenFunction &CGF, - llvm::StringRef Constraint, - const llvm::Type* Ty) { - if (Constraint=="y" && UseX86_MMXType(Ty)) - return llvm::Type::getX86_MMXTy(CGF.getLLVMContext()); - return Ty; -} - //===----------------------------------------------------------------------===// // X86-32 ABI Implementation //===----------------------------------------------------------------------===// @@ -423,13 +415,6 @@ public: bool initDwarfEHRegSizeTable(CodeGen::CodeGenFunction &CGF, llvm::Value *Address) const; - - const llvm::Type* adjustInlineAsmType(CodeGen::CodeGenFunction &CGF, - llvm::StringRef Constraint, - const llvm::Type* Ty) const { - return X86AdjustInlineAsmType(CGF, Constraint, Ty); - } - }; } @@ -910,13 +895,6 @@ public: return false; } - - const llvm::Type* adjustInlineAsmType(CodeGen::CodeGenFunction &CGF, - llvm::StringRef Constraint, - const llvm::Type* Ty) const { - return X86AdjustInlineAsmType(CGF, Constraint, Ty); - } - }; class WinX86_64TargetCodeGenInfo : public TargetCodeGenInfo { |