From b9c9e34cb35faa7df67f73de07b0d867fa4e366a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 13 Apr 2011 05:58:17 +0000 Subject: Just use a native "load" instead of translating the builtin later. Clang can take it! I wasn't able to get __builtin_ia32_loaddqu to transform into an unaligned load...I'll have to look into it further. llvm-svn: 129427 --- clang/lib/CodeGen/CGBuiltin.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'clang/lib/CodeGen') diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp index fce2bf40ee1..72a8ef8a5d5 100644 --- a/clang/lib/CodeGen/CGBuiltin.cpp +++ b/clang/lib/CodeGen/CGBuiltin.cpp @@ -2092,8 +2092,6 @@ Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned BuiltinID, // If palignr is shifting the pair of vectors more than 32 bytes, emit zero. return llvm::Constant::getNullValue(ConvertType(E->getType())); } - case X86::BI__builtin_ia32_loadups: - case X86::BI__builtin_ia32_loadupd: case X86::BI__builtin_ia32_loaddqu: { const llvm::Type *VecTy = ConvertType(E->getType()); const llvm::Type *IntTy = llvm::IntegerType::get(getLLVMContext(), 128); -- cgit v1.2.3