search for: select18

Displaying 5 results from an estimated 5 matches for "select18".

2019 Sep 30
3
[cfe-dev] CFG simplification question, and preservation of branching in the original code
...; preds = %if.then2, %entry > %b.addr.0 = phi i32 [ %sub3, %if.then2 ], [ %b, %entry ] > %neg.1 = phi i16 [ %1, %if.then2 ], [ %0, %entry ] > %mul = mul nsw i32 %b.addr.0, %spec.select > %tobool5 = icmp eq i16 %neg.1, 0 > %sub7 = sub nsw i32 0, %mul > %spec.select18 = select i1 %tobool5, i32 %mul, i32 %sub7 > ret i32 %spec.select18 > } > > attributes #0 = { norecurse nounwind optsize readnone "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="fa...
2019 Sep 30
2
[cfe-dev] CFG simplification question, and preservation of branching in the original code
...; preds = %if.then2, > %entry > %b.addr.0 = phi i32 [ %sub3, %if.then2 ], [ %b, %entry ] > %neg.1 = phi i16 [ %1, %if.then2 ], [ %0, %entry ] > %mul = mul nsw i32 %b.addr.0, %spec.select > %tobool5 = icmp eq i16 %neg.1, 0 > %sub7 = sub nsw i32 0, %mul > %spec.select18 = select i1 %tobool5, i32 %mul, i32 %sub7 > ret i32 %spec.select18 > } > > attributes #0 = { norecurse nounwind optsize readnone > "correctly-rounded-divide-sqrt-fp-math"="false" > "disable-tail-calls"="false" "less-precise-fpmad"=...
2019 Sep 29
2
[cfe-dev] CFG simplification question, and preservation of branching in the original code
On Sun, Sep 29, 2019 at 3:35 PM Joan Lluch via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi Sanjay, > > Actually, the CodeGenPrepare::optimizeSelectInst is not doing the best it could do in some circumstances: The case of “OptSize" for targets not supporting Select was already mentioned to be detrimental. > > For targets that actually have selects, but branches
2019 Oct 01
3
[cfe-dev] CFG simplification question, and preservation of branching in the original code
...try >>> %b.addr.0 = phi i32 [ %sub3, %if.then2 ], [ %b, %entry ] >>> %neg.1 = phi i16 [ %1, %if.then2 ], [ %0, %entry ] >>> %mul = mul nsw i32 %b.addr.0, %spec.select >>> %tobool5 = icmp eq i16 %neg.1, 0 >>> %sub7 = sub nsw i32 0, %mul >>> %spec.select18 = select i1 %tobool5, i32 %mul, i32 %sub7 >>> ret i32 %spec.select18 >>> } >>> >>> attributes #0 = { norecurse nounwind optsize readnone "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "le...
2019 Oct 03
2
[cfe-dev] CFG simplification question, and preservation of branching in the original code
...addr.0 = phi i32 [ %sub3, %if.then2 ], [ %b, %entry ] >>>> %neg.1 = phi i16 [ %1, %if.then2 ], [ %0, %entry ] >>>> %mul = mul nsw i32 %b.addr.0, %spec.select >>>> %tobool5 = icmp eq i16 %neg.1, 0 >>>> %sub7 = sub nsw i32 0, %mul >>>> %spec.select18 = select i1 %tobool5, i32 %mul, i32 %sub7 >>>> ret i32 %spec.select18 >>>> } >>>> >>>> attributes #0 = { norecurse nounwind optsize readnone "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="fals...