search for: promoteintegeroperand

Displaying 4 results from an estimated 4 matches for "promoteintegeroperand".

2014 Sep 18
2
[LLVMdev] troubles with ISD::FPOWI
...e. But when I run this through the compiler, it asserts: -bash-4.1$ $DEVCLANG -target coge -O -S slamchf77.ll -mllvm -debug ... Promote integer result: 0x56061c0: i32 = sub 0x56049a0, 0x56046a0 [ORD=161] [ID=0] Promote integer operand: 0x56059c0: f32 = fpowi 0x5602580, 0x56061c0 [ORD=162] [ID=0] PromoteIntegerOperand Op #1: 0x56059c0: f32 = fpowi 0x5602580, 0x56061c0 [ORD=162] [ID=0] Do not know how to promote this operator's operand! ------ This is coming out of DAGTypeLegalizer::ExpandIntegerResult(). I've tried adding some code to expand the integer operand (operand 1) via SIGN_EXTEND[_INREG] but k...
2013 Feb 07
1
[LLVMdev] Legalizing FrameIndex
Hey all, I am trying to implement a subtarget for the X86 architecture that only has 64 bit Registers. While running LLC on the IR for a very simple program, llc fails on an assertion that says it doesn't know how to promote ISD::FRAMEINDEX. I've tried to look for why how to promote the frameindex which is stored in a i32 variable to an i64 variable but can't seem to find where
2013 Apr 16
0
[LLVMdev] Lowering intrinsics / type promotion
...align 2 @b = common global i16 0, align 2 define i32 @main() #0 { entry: %retval = alloca i32, align 4 store i32 0, i32* %retval %0 = load i16* @a, align 4 %1 = load i16* @b, align 2 %2 = call i32 @llvm.opus.smuls(i16 %0, i16 %1) ret i32 %2 } declare i32 @llvm.opus.smuls(i16, i16) #1 PromoteIntegerOperand Op #1: 0x33f090: i32 = llvm.opus.smuls 0x33f008, 0x33ee70, 0x33ef80 [ORD=4] [ID=0] Do not know how to promote this operator's operand! UNREACHABLE executed at ..\..\..\..\lib\CodeGen\SelectionDAG\LegalizeIntegerTypes.cpp:763! I've tried adding a custom LowerINTRINSIC_WO_CHAIN handler. Wha...
2016 Jan 18
3
error of using GATHER intrinsic
...double> @llvm.masked.gather.v8f64(<2 x double*> %gep.addr, i32 8, <2 x i1> <i1 true, i1, true>, <2 x double> undef) I could load my pass successfully with opt, but I got the following errors when I either run the new bitcode using lli or generate the assembly using llc: PromoteIntegerOperand Op #2: 0x41bf3a8: v2f64,ch = masked_gather 0x415ec40, 0x41bf030, 0x41bf280, 0x41bbb30, 0x41becb8<LD16[%a]> [ORD=8] [ID=0] Do not know how to promote this operator's operand! Any idea about this error? Or could anyone give me an example how to use the gather intrinsic if there is somethi...