You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CodeGenPrepare] Do not despeculate count leading ones if promotion
For count leading ones, ie CTLZ (XOR Op -1), legalisation should be
able to optimise this case when a promotion is necessary.
Despeculation should not be applied in this case as it will separate
XOR and CTLZ in two different basic blocks. This is particularly
problematic with SelectionDAG.
0 commit comments