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 | a6d2bff0c5b03eb394c32f291a883059f68f4f37 (patch) | |
tree | 73c83ae0d2b1189db5af86dc643f263d4b845df0 /clang/lib/CodeGen/TargetInfo.cpp | |
parent | f7fa56f25f4b14e0886b2acdc15f399769c1d5b0 (diff) | |
download | bcm5719-llvm-a6d2bff0c5b03eb394c32f291a883059f68f4f37.tar.gz bcm5719-llvm-a6d2bff0c5b03eb394c32f291a883059f68f4f37.zip |
Revert 125820 and 125819 to fix PR9266.
llvm-svn: 126050
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index f95aab07442..881a7ee4d04 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/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 { |