search for: pref_align

Displaying 2 results from an estimated 2 matches for "pref_align".

Did you mean: perf_align
2010 Oct 24
2
[LLVMdev] lli : external functions and target datalayout
...4:64:64-v128:128:128-a0:0:64-f80:32:32" If I use this string to creat a TargetData object directly, I got an assertion error: ~/llvm-2.6/lib/Target/TargetData.cpp:246: void llvm::TargetData::setAlignment(llvm::AlignTypeEnum, unsigned char, unsigned char, uint32_t): Assertion `abi_align <= pref_align && "Preferred alignment worse than ABI!"' failed. Aborted This is because of the i64:32:64. It seems to be i64:64:64. 'lli' is able to fix this problem automatically, but why does llvm-gcc output i64:32:64 rather than i64:64:64? Thanks -- Jianzhou
2010 Oct 24
0
[LLVMdev] lli : external functions and target datalayout
...32:32" > > If I use this string to creat a TargetData object directly, I got an > assertion error: > > ~/llvm-2.6/lib/Target/TargetData.cpp:246: void > llvm::TargetData::setAlignment(llvm::AlignTypeEnum, unsigned char, > unsigned char, uint32_t): Assertion `abi_align <= pref_align && > "Preferred alignment worse than ABI!"' failed. > Aborted > > This is because of the i64:32:64. It seems to be i64:64:64. 'lli' is > able to fix this problem automatically, but why does llvm-gcc output > i64:32:64 rather than i64:64:64? FYI: the...