summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-04-13 05:58:17 +0000
committerBill Wendling <isanbard@gmail.com>2011-04-13 05:58:17 +0000
commitb9c9e34cb35faa7df67f73de07b0d867fa4e366a (patch)
treeae763268ae26fd96acc47ddcabe0e409d0e7f264 /clang/lib/CodeGen
parentefc283c0765159978bccfbc6ea2f87a4e49c0438 (diff)
downloadbcm5719-llvm-b9c9e34cb35faa7df67f73de07b0d867fa4e366a.tar.gz
bcm5719-llvm-b9c9e34cb35faa7df67f73de07b0d867fa4e366a.zip
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
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
1 files changed, 0 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud