[llvm-commits] [llvm-gcc-4.2] r43521 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Dale Johannesen
dalej at apple.com
Tue Oct 30 15:10:42 PDT 2007
Author: johannes
Date: Tue Oct 30 17:10:42 2007
New Revision: 43521
URL: http://llvm.org/viewvc/llvm-project?rev=43521&view=rev
Log:
Add missing vec_set_v4hi builtin.
/
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=43521&r1=43520&r2=43521&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 Tue Oct 30 17:10:42 2007
@@ -455,6 +455,7 @@
case IX86_BUILTIN_VEC_EXT_V8HI:
Result = Builder.CreateExtractElement(Ops[0], Ops[1], "tmp");
return true;
+ case IX86_BUILTIN_VEC_SET_V4HI:
case IX86_BUILTIN_VEC_SET_V8HI:
// GCC sometimes doesn't produce the right element type.
Ops[1] = Builder.CreateIntCast(Ops[1], Type::Int16Ty, false, "tmp");
More information about the llvm-commits
mailing list