aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-12-28 20:14:56 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-12-28 20:15:20 +0300
commitd4ccef38d0bbcd70f56d586b4dfc988db863e388 (patch)
treee3aba8152fd8db6fbbdd1000396e8d7c064d226a /llvm/lib/CodeGen/MachineFunction.cpp
parentb9a7c89d4322b261b65eb96d678a9d38b776cb60 (diff)
downloadllvm-d4ccef38d0bbcd70f56d586b4dfc988db863e388.zip
llvm-d4ccef38d0bbcd70f56d586b4dfc988db863e388.tar.gz
llvm-d4ccef38d0bbcd70f56d586b4dfc988db863e388.tar.bz2
[InstCombine] 'hoist xor-by-constant from xor-by-value': ignore constantexprs
As it is being reported (in post-commit review) in https://reviews.llvm.org/D93857 this fold (as i expected, but failed to come up with test coverage despite trying) has issues with constant expressions. Since we only care about true constants, which constantexprs are not, don't perform such hoisting for constant expressions.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions