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
[Transforms][Utils][PromoteMem2Reg] Propagate nnan flag on par with the nsz flag
Following the change introduced by the PR llvm#83381, this patch extends
it with the same treatment of the nnan fast-math flag. This is to
address the performance drop caused by PR#83200 which prevented vital
InstCombine transformation due to the lack of relevant fast-math
flags.
The PromoteMem2Reg utility is used by the SROA pass, where Phi nodes
are being created. Proposed change allows propagation of the nnan
flag down to these Phi nodes.
0 commit comments