aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2022-02-22 09:49:19 +0000
committerJay Foad <jay.foad@amd.com>2022-02-22 17:36:20 +0000
commit0e74d75a295729bc145724ffa0495fee4d1b598c (patch)
tree42d97fb4dbfa795790fa4377823f6fd251cfbf32 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentcedc23bc8612feea61c0a7d92ccaae1ce51520ce (diff)
downloadllvm-0e74d75a295729bc145724ffa0495fee4d1b598c.zip
llvm-0e74d75a295729bc145724ffa0495fee4d1b598c.tar.gz
llvm-0e74d75a295729bc145724ffa0495fee4d1b598c.tar.bz2
[StructurizeCFG] Fix boolean not bug
D118623 added code to fold not-of-compare into a compare with the inverted predicate, if the compare had no other uses. This relies on accurate use lists in the IR but it was run before setPhiValues, when some phi inputs are still stored in a data structure on the side, instead of being real uses in the IR. The effect was that a phi that should be using the original compare result would now get an inverted result instead. Fix this by moving simplifyConditions after setPhiValues. Differential Revision: https://reviews.llvm.org/D120312
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions