aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-02-04 09:14:37 +0000
committerGitHub <noreply@github.com>2025-02-04 09:14:37 +0000
commit4be35fd9085b9bb0330c8adb95b47842baa3aaa9 (patch)
treee4a818fc59ba53ae518e10e66b62b482e7758bde /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parent91cb8f5d3202870602c6bef807bc4c7ae8a32790 (diff)
downloadllvm-4be35fd9085b9bb0330c8adb95b47842baa3aaa9.zip
llvm-4be35fd9085b9bb0330c8adb95b47842baa3aaa9.tar.gz
llvm-4be35fd9085b9bb0330c8adb95b47842baa3aaa9.tar.bz2
[X86] EmitCmp - use existing XOR node to check for equality (#125506)
Normally, we use the result of the SUB flag for scalar comparison as its more compatible with CMP, but if we're testing for equality and already have a XOR we can reuse that instead. Fixes #6146
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions