summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-12-14 12:01:30 +0100
committerNikita Popov <npopov@redhat.com>2022-12-14 12:04:21 +0100
commit43b5fbae3b00ff9dc11e5d102aad3a80be9f5067 (patch)
tree711d9d7248f4d6fc1e663b654b34e967dd0fc8b1 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentb3eaf401667c111de4222b3a4e1ba9ff425360b2 (diff)
Revert "[InstCombine] Handle logical op in simplifyRangeCheck() (PR59484)"
This reverts commit 492c471839a66e354ebe696bd3e15f7477c63613. As pointed out by nloped, the transform in f2 is not correct: If %shr is poison, then freeze may result in a negative value. The transform is correct in the case where the freeze is pushed through the operation in a way that guarantees the result is non-negative, which is the case I had tested.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions