From 9b064d8bf94fc70aee7773feb04e5e96134f52f2 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 13 Apr 2011 20:17:22 +0000 Subject: [PATCH] Removing the unaligned load tests from builtins-x86.c since they're generated by a regular 'load' now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129464 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGBuiltin.cpp | 2 -- test/CodeGen/builtins-x86.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index fce2bf40ee..72a8ef8a5d 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/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); diff --git a/test/CodeGen/builtins-x86.c b/test/CodeGen/builtins-x86.c index 56f220b8a6..6813996c18 100644 --- a/test/CodeGen/builtins-x86.c +++ b/test/CodeGen/builtins-x86.c @@ -273,7 +273,6 @@ void f0() { #endif tmp_V2i = __builtin_ia32_cvttps2pi(tmp_V4f); (void) __builtin_ia32_maskmovq(tmp_V8c, tmp_V8c, tmp_cp); - tmp_V4f = __builtin_ia32_loadups(tmp_fCp); (void) __builtin_ia32_storeups(tmp_fp, tmp_V4f); (void) __builtin_ia32_storehps(tmp_V2ip, tmp_V4f); (void) __builtin_ia32_storelps(tmp_V2ip, tmp_V4f); @@ -291,7 +290,6 @@ void f0() { tmp_V4f = __builtin_ia32_sqrtps(tmp_V4f); tmp_V4f = __builtin_ia32_sqrtss(tmp_V4f); (void) __builtin_ia32_maskmovdqu(tmp_V16c, tmp_V16c, tmp_cp); - tmp_V2d = __builtin_ia32_loadupd(tmp_dCp); (void) __builtin_ia32_storeupd(tmp_dp, tmp_V2d); tmp_i = __builtin_ia32_movmskpd(tmp_V2d); tmp_i = __builtin_ia32_pmovmskb128(tmp_V16c); -- 2.40.0