[llvm-commits] [llvm-gcc-4.0] r41791 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sun Sep 9 07:26:53 PDT 2007
Author: asl
Date: Sun Sep 9 09:26:52 2007
New Revision: 41791
URL: http://llvm.org/viewvc/llvm-project?rev=41791&view=rev
Log:
Unbreak 64-bit build
Modified:
llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp?rev=41791&r1=41790&r2=41791&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Sun Sep 9 09:26:52 2007
@@ -2447,7 +2447,7 @@
Value *Select = Builder.CreateLoad(ExceptionSelectorValue, "tmp");
// Compare with the filter action value.
- Value *Zero = ConstantInt::get(Type::Int32Ty, 0);
+ Value *Zero = ConstantInt::get(Select->getType(), 0);
Value *Compare = Builder.CreateICmpSLT(Select, Zero, "tmp");
// Branch on the compare.
More information about the llvm-commits
mailing list