aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2021-06-11 09:43:52 -0700
committerGuozhi Wei <carrot@google.com>2021-06-11 09:45:56 -0700
commitf35bcea1d4748889b8240defdf00cb7a71cbe070 (patch)
tree6e51afb7dc38a7699a65b347beda4f6af10b047a /llvm/lib/CodeGen/MachineFunction.cpp
parentf84dbd2f2befb628ac2ac151fed495d70a2d05be (diff)
downloadllvm-f35bcea1d4748889b8240defdf00cb7a71cbe070.zip
llvm-f35bcea1d4748889b8240defdf00cb7a71cbe070.tar.gz
llvm-f35bcea1d4748889b8240defdf00cb7a71cbe070.tar.bz2
[X86FixupLEAs] Sub register usage of LEA dest should block LEA/SUB optimization
In function searchALUInst, sub register usage of LEA dest should also block LEA/SUB optimization, otherwise the sub register usage gets an undefined value. This patch fixes https://bugs.llvm.org/show_bug.cgi?id=50615. Differential Revision: https://reviews.llvm.org/D103922
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions