aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-02-24 10:20:18 -0500
committerSanjay Patel <spatel@rotateright.com>2022-02-24 10:43:53 -0500
commit5379f76e6328ecfa2e15b3c7ab32c4a053f4a663 (patch)
treef56e282b13cbf1104bc71c33667b436f8c38651e /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent788b08a58cef5888321bb74a57f8fcbf795fd47b (diff)
downloadllvm-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