On Nov 7, 2007, at 11:29 AM, Bill Wendling wrote: > 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.
Thanks Bill, please add a fixme though and file a bugzilla about this. The bugzilla should point to your new testcase. -Chris > 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 = > > > _______________________________________________ > llvm-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits _______________________________________________ llvm-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
