[llvm-commits] [llvm-gcc-4.2] r91980 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Eric Christopher
echristo at apple.com
Tue Dec 22 18:52:12 PST 2009
Author: echristo
Date: Tue Dec 22 20:52:12 2009
New Revision: 91980
URL: http://llvm.org/viewvc/llvm-project?rev=91980&view=rev
Log:
Update for intrinsic change.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=91980&r1=91979&r2=91980&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Tue Dec 22 20:52:12 2009
@@ -4997,7 +4997,7 @@
// Manually coerce the arg to the correct pointer type.
Args[0] = Builder.CreateBitCast(Args[0], Type::getInt8PtrTy(Context));
- Args[1] = Builder.CreateIntCast(Args[1], Type::getInt32Ty(Context),
+ Args[1] = Builder.CreateIntCast(Args[1], Type::getInt1Ty(Context),
false);
Result = Builder.CreateCall(Intrinsic::getDeclaration(TheModule,
More information about the llvm-commits
mailing list