Displaying 1 result from an estimated 1 matches for "casttobyte".
2011 May 31
0
[LLVMdev] Assertion failure in MC emitter running LLVM libs on Android using android-ndk
...The IR which is causing the assertion failure is the following:
define void @__construct_Byte__Integer(i8* nocapture %byteLValue, i32 %integerRValue) inlinehint {
entry:
%0 = trunc i32 %integerRValue to i8
store i8 %0, i8* %byteLValue
ret void
}
define void @entry() inlinehint {
entry:
%castToByte = alloca i8
call void @__construct_Byte__Integer(i8* %castToByte, i32 16)
%0 = load i8* %castToByte
ret void
}
And the assertion failure is the following:
assertion "isReg() && "This is not a register operand!"" failed: file "/Users/pzion/Fabric/ThirdParty/B...