aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-07-11 15:15:43 +0200
committerNikita Popov <npopov@redhat.com>2023-07-11 15:18:53 +0200
commitbc491030154f2583f3ea0d22ee0b249f45cedbac (patch)
tree541066ffe247b5dfb445e09f6d2677063bd26c92 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parenta8c46de8ada5881127a0953ca55bf95285235cd4 (diff)
downloadllvm-bc491030154f2583f3ea0d22ee0b249f45cedbac.zip
llvm-bc491030154f2583f3ea0d22ee0b249f45cedbac.tar.gz
llvm-bc491030154f2583f3ea0d22ee0b249f45cedbac.tar.bz2
[InstCombine] Don't handle constants in de morgan folds (PR63791)
If the and/or operand is an immediate constant, it will get folded away anyway. Don't try to freely invert those operands. A particularly degenerate case of this arises when both operands are constant and the result is a constant, in which case we try to invert users of a constant, resulting in an assertion failure. Fixes https://github.com/llvm/llvm-project/issues/63791.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions