[llvm-commits] [llvm-gcc-4.2] r42005 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Chris Lattner
sabre at nondot.org
Sun Sep 16 11:32:43 PDT 2007
Author: lattner
Date: Sun Sep 16 13:32:42 2007
New Revision: 42005
URL: http://llvm.org/viewvc/llvm-project?rev=42005&view=rev
Log:
Fix typo in my previous patch that I fixed in 4.0 but not 4.2
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp?rev=42005&r1=42004&r2=42005&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp Sun Sep 16 13:32:42 2007
@@ -441,7 +441,7 @@
case IX86_BUILTIN_VEC_INIT_V8QI:
// Sometimes G++ promotes arguments to int.
for (unsigned i = 0; i != 8; ++i)
- Ops[i] = Builder.CreateIntCast(Ops[i], Type::Int16Ty, false, "tmp");
+ Ops[i] = Builder.CreateIntCast(Ops[i], Type::Int8Ty, false, "tmp");
Result = BuildVector(Ops[0], Ops[1], Ops[2], Ops[3],
Ops[4], Ops[5], Ops[6], Ops[7], NULL);
return true;
More information about the llvm-commits
mailing list