aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2023-10-02 22:41:31 +0300
committerMatt Arsenault <arsenm2@gmail.com>2023-10-02 22:43:24 +0300
commitf79379398d671e2a8ebcc107de09e87686b19467 (patch)
treea1de41e5279e3eb473de39ef355429664a607859 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent5833a9e99adae80b60127b8e54bd5c291452cfaf (diff)
downloadllvm-f79379398d671e2a8ebcc107de09e87686b19467.zip
llvm-f79379398d671e2a8ebcc107de09e87686b19467.tar.gz
llvm-f79379398d671e2a8ebcc107de09e87686b19467.tar.bz2
Revert "CodeGen: Disable isCopyInstrImpl if there are implicit operands"
This reverts commit bc7d88faf1a595ab59952a2054418cdd0d9eeee8. This is broken with 414ff812d6241b728754ce562081419e7fc091eb reverted.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index 917a99f..b2c2b40 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -2116,7 +2116,7 @@ bool InstrRefBasedLDV::transferSpillOrRestoreInst(MachineInstr &MI) {
}
bool InstrRefBasedLDV::transferRegisterCopy(MachineInstr &MI) {
- auto DestSrc = TII->isCopyInstr(MI, false);
+ auto DestSrc = TII->isCopyInstr(MI);
if (!DestSrc)
return false;