Add flag 'nsz' in select, so that it can be fold to fabs.
In D101727, it fix Incorrect transformation of fabs, so I think
'nsz' should be added in select.
Differential D123588
[InstCombine] fix tests in fneg.ll Chenbing.Zheng on Apr 12 2022, 4:51 AM. Authored by
Details
Add flag 'nsz' in select, so that it can be fold to fabs. In D101727, it fix Incorrect transformation of fabs, so I think
Diff Detail
Event TimelineComment Actions The TODO comment appears to be correct: So we should leave this test the same, but add another test that has 'nsz' on the select only? If that sounds good, please commit an "NFC" patch to add one more test (no review on Phabricator is needed to add a test unless there are still open questions). |