summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineLICM.cpp
diff options
context:
space:
mode:
authorGuy David <guyda96@gmail.com>2025-05-14 18:52:03 +0300
committerGuy David <guyda96@gmail.com>2025-05-14 18:52:03 +0300
commitf3331c2e2641a95aee923e25c5c6618e1999a953 (patch)
treee558657400e3f141b688b61bf4f9080484411c4e /llvm/lib/CodeGen/MachineLICM.cpp
parent9a9a78eacb4c27805acd7ddc8952faf5c22aa5ea (diff)
Diffstat (limited to 'llvm/lib/CodeGen/MachineLICM.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineLICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp
index 0c6057931d78..a9233ba0006e 100644
--- a/llvm/lib/CodeGen/MachineLICM.cpp
+++ b/llvm/lib/CodeGen/MachineLICM.cpp
@@ -1220,7 +1220,7 @@ bool MachineLICMImpl::HasHighOperandLatency(MachineInstr &MI, unsigned DefIdx,
/// Return true if the instruction is marked "cheap" or the operand latency
/// between its def and a use is one or less.
bool MachineLICMImpl::IsCheapInstruction(MachineInstr &MI) const {
- if (TII->isAsCheapAsAMove(MI) || MI.isCopyLike())
+ if (TII->isAsCheapAsAMove(MI))
return true;
bool isCheap = false;