diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-02-24 10:20:18 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-02-24 10:43:53 -0500 |
commit | 5379f76e6328ecfa2e15b3c7ab32c4a053f4a663 (patch) | |
tree | f56e282b13cbf1104bc71c33667b436f8c38651e /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 788b08a58cef5888321bb74a57f8fcbf795fd47b (diff) | |
download | llvm-5379f76e6328ecfa2e15b3c7ab32c4a053f4a663.zip llvm-5379f76e6328ecfa2e15b3c7ab32c4a053f4a663.tar.gz llvm-5379f76e6328ecfa2e15b3c7ab32c4a053f4a663.tar.bz2 |
[InstCombine] try harder to preserve 'nsz' in fneg-of-select transform
The corner case where 'nsz' needs to be removed is very narrow
as discussed here:
https://reviews.llvm.org/rG3cdd05e519dd
If the select condition is not undef, there's no problem with
propagating 'nsz':
https://alive2.llvm.org/ce/z/4GWJdq
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions