search for: cselxx

Displaying 1 result from an estimated 1 matches for "cselxx".

Did you mean: csel
2016 Mar 29
0
IfConversion and representation of predicates
...this bad scenario, and I think it could be entirely avoided if IfConversion ran before register allocation: the block-to-be-predicated contains load-immediate (LI) instructions. The LI instructions accept any 32-bit immediate. TII:PredicateInstruction can transform LI into a conditional-select (CSELxx) instruction, but on my target, CSELxx only accepts a 16-bit immediate. This is less general; not all LI instructions can be predicated into CSELxx instructions, thus frequently preventing the block predication transformation . I don't think I can run LI speculatively, because it risks clobbe...