Displaying 8 results from an estimated 8 matches for "aligntypeenum".
2009 Sep 30
5
[LLVMdev] long double type on ARM
...ould see the error message on llc processing.
> llvm-gcc -emit-llvm ./od.c -c -o ./od.bc -other-options...
> llc -march=arm ./od.bc -f -o ./od.s
llc: /home/jaykang10/HardDisk2/Projects/LLVM/src/llvm-2.5/lib/Target/TargetData.cpp:305: unsigned int llvm::TargetData::getAlignmentInfo(llvm::AlignTypeEnum, uint32_t, bool, const llvm::Type*) const: Assertion `AlignType == VECTOR_ALIGN && "Unknown alignment type!"' failed.
The problem was that
when i converted 'od' source code to llvm bitcode, long double type of 'od' source code was changed to x86_fp80 type in l...
2010 Oct 24
2
[LLVMdev] lli : external functions and target datalayout
...uot;e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64: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...
2010 Oct 24
0
[LLVMdev] lli : external functions and target datalayout
...:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64: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 automat...
2009 Sep 30
0
[LLVMdev] long double type on ARM
...processing.
>
> > llvm-gcc -emit-llvm ./od.c -c -o ./od.bc -other-options...
> > llc -march=arm ./od.bc -f -o ./od.s
> llc: /home/jaykang10/HardDisk2/Projects/LLVM/src/llvm-2.5/lib/Target/
> TargetData.cpp:305: unsigned int llvm::TargetData::getAlignmentInfo
> (llvm::AlignTypeEnum, uint32_t, bool, const llvm::Type*) const:
> Assertion `AlignType == VECTOR_ALIGN && "Unknown alignment type!"'
> failed.
>
> The problem was that
> when i converted 'od' source code to llvm bitcode, long double type
> of 'od' source cod...
2015 Feb 16
4
[LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
...ver, as I suspected, when
installing the proprietary NVIDIA driver, the segfault does not happen - my
guess is because it does not use the parts of mesa that uses llvm-3.4.
Here is the stack trace:
Program received signal SIGSEGV, Segmentation fault.
0xb606fe4c in llvm::LayoutAlignElem::get(llvm::AlignTypeEnum, unsigned int,
unsigned int, unsigned int) () from /usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
(gdb) bt
#0 0xb606fe4c in llvm::LayoutAlignElem::get(llvm::AlignTypeEnum, unsigned
int, unsigned int, unsigned int) () from
/usr/lib/i386-linux-gnu/libLLVM-3.4.so.1
#1 0xb5ae8590 in ?? () from /usr/lib/i38...
2009 Sep 30
0
[LLVMdev] long double type on ARM
...ssage on llc processing.
> > llvm-gcc -emit-llvm ./od.c -c -o ./od.bc /-other-options.../
> > llc -march=arm ./od.bc -f -o ./od.s
> llc:
> /home/jaykang10/HardDisk2/Projects/LLVM/src/llvm-2.5/lib/Target/TargetData.cpp:305:
> unsigned int llvm::TargetData::getAlignmentInfo(llvm::AlignTypeEnum,
> uint32_t, bool, const llvm::Type*) const: Assertion `AlignType ==
> VECTOR_ALIGN && "Unknown alignment type!"' failed.
> The problem was that
> when i converted 'od' source code to llvm bitcode, long double type of
> 'od' source code was chang...
2009 Sep 30
2
[LLVMdev] long double type on ARM
...ould see the error message on llc processing.
> llvm-gcc -emit-llvm ./od.c -c -o ./od.bc -other-options...
> llc -march=arm ./od.bc -f -o ./od.s
llc: /home/jaykang10/HardDisk2/Projects/LLVM/src/llvm-2.5/lib/Target/TargetData.cpp:305: unsigned int llvm::TargetData::getAlignmentInfo(llvm::AlignTypeEnum, uint32_t, bool, const llvm::Type*) const: Assertion `AlignType == VECTOR_ALIGN && "Unknown alignment type!"' failed.
The problem was that
when i converted 'od' source code to llvm bitcode, long double type of 'od' source code was changed to x86_fp80 type in l...
2009 Sep 30
0
[LLVMdev] long double type on ARM
...t;> > llvm-gcc -emit-llvm ./od.c -c -o ./od.bc -other-options...
>> > llc -march=arm ./od.bc -f -o ./od.s
>> llc: /home/jaykang10/HardDisk2/Projects/LLVM/src/llvm-2.5/lib/
>> Target/TargetData.cpp:305: unsigned int
>> llvm::TargetData::getAlignmentInfo(llvm::AlignTypeEnum, uint32_t,
>> bool, const llvm::Type*) const: Assertion `AlignType ==
>> VECTOR_ALIGN && "Unknown alignment type!"' failed.
>>
>> The problem was that
>> when i converted 'od' source code to llvm bitcode, long double type
>> of...