[llvm-commits] [llvm-gcc-4.0] r43835 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp
Bill Wendling
isanbard at gmail.com
Wed Nov 7 11:29:40 PST 2007
Author: void
Date: Wed Nov 7 13:29:37 2007
New Revision: 43835
URL: http://llvm.org/viewvc/llvm-project?rev=43835&view=rev
Log:
Hack: Force alignment to 1 in all cases.
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=43835&r1=43834&r2=43835&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Wed Nov 7 13:29:37 2007
@@ -1297,7 +1297,7 @@
CastToType(Instruction::BitCast, DestPtr, SBP),
CastToType(Instruction::BitCast, SrcPtr, SBP),
CastToSIntType(Size, IntPtr),
- ConstantInt::get(Type::Int32Ty, Align)
+ ConstantInt::get(Type::Int32Ty, 1)
};
Intrinsic::ID IID =
@@ -1329,7 +1329,7 @@
CastToType(Instruction::BitCast, DestPtr, SBP),
CastToSIntType(SrcVal, Type::Int8Ty),
CastToSIntType(Size, IntPtr),
- ConstantInt::get(Type::Int32Ty, Align)
+ ConstantInt::get(Type::Int32Ty, 1)
};
Intrinsic::ID IID =
More information about the llvm-commits
mailing list