search for: _tmp44

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

Did you mean: _tmp4
2012 Nov 26
2
[LLVMdev] LSR pass
...undesirable on my target. I wonder if there is any way to tell LSR to not duplicate the code in cases like this? Or could I perhaps run CSE after LSR again? What is the logic behind this transformation? It seems that a LSR pass should not insert a multiplication, generally..? Thanks, Jonas %_tmp44 = ptrtoint i16* par1 to i16 %_tmp51 = ptrtoint i16* par2 to i16 ... inside loop: *** IR Dump After Canonicalize natural loops *** bb7: (header) ; preds = %bb7.lr.ph, %bb11 %_tmp39 = sub i16 %_tmp35, %_tmp38 %2 = mul i16 %_tmp39, -10 %_tmp41 = add i1...
2012 Dec 01
1
[LLVMdev] LSR pass
...c behind this is that on many targets these extra instructions are absorbed into the 'addressing mode' of the user instructions. Does your target support any non-trivial addressing modes? -Hal > > > > Thanks, > > Jonas > > > > > > > > %_tmp44 = ptrtoint i16* par1 to i16 > > %_tmp51 = ptrtoint i16* par2 to i16 > > ... > > inside loop: > > *** IR Dump After Canonicalize natural loops *** > > bb7: (header) ; preds = %bb7.lr.ph, %bb11 > > > > %_tmp39 = sub i16 %_tmp35, %_tmp38 > > %2...
2012 Dec 04
0
[LLVMdev] LSR pass
...c behind this is that on many targets these extra instructions are absorbed into the 'addressing mode' of the user instructions. Does your target support any non-trivial addressing modes? -Hal > > > > Thanks, > > Jonas > > > > > > > > %_tmp44 = ptrtoint i16* par1 to i16 > > %_tmp51 = ptrtoint i16* par2 to i16 > > ... > > inside loop: > > *** IR Dump After Canonicalize natural loops *** > > bb7: (header) ; preds = %bb7.lr.ph, %bb11 > > > > %_tmp39 = sub i16 %_tmp35, %_tmp38 > > %2...
2017 Jan 13
4
Wrong code bug after GVN/PRE?
...r label %bb9 bb_usw2: %_tmp39 = load %int4, %ptr7 %cach1.11 %_tmp40 = icmp eq %int4 %_tmp39, 8 br i1 %_tmp40, label %bb7, label %bb8 bb7: %_tmp41 = load %int4, %ptr7 %step1.7 %_tmp42 = icmp eq %int4 %_tmp41, 1 %_tmp43 = select i1 %_tmp42, %int4 1, %int4 0 call void @CVAL_VERIFY_FUNC(%int4 %_tmp43) %_tmp44 = load %ptr20, %ptr26 %liv1.12 %_tmp45 = load %int4, %ptr7 %step1.7 %_tmp46 = sext %int4 %_tmp45 to i64 %_tmp47 = getelementptr %arr18, %ptr20 %_tmp44, i16 0, i64 %_tmp46 %_tmp48 = load %int4, %ptr7 %_tmp47 %_tmp49 = icmp eq %int4 %_tmp48, 100 %_tmp50 = select i1 %_tmp49, %int4 1, %int4 0 call void...