diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/libs/llvm12/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/llvm12/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp')
-rw-r--r-- | contrib/libs/llvm12/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/llvm12/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp b/contrib/libs/llvm12/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp index 019220e3a5..82b610f995 100644 --- a/contrib/libs/llvm12/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp +++ b/contrib/libs/llvm12/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp @@ -408,11 +408,11 @@ bool AArch64RedundantCopyElimination::optimizeBlock(MachineBasicBlock *MBB) { O.getReg() != CmpReg; })) continue; - - // Don't remove a move immediate that implicitly defines the upper - // bits as different. - if (TRI->isSuperRegister(DefReg, KnownReg.Reg) && KnownReg.Imm < 0) - continue; + + // Don't remove a move immediate that implicitly defines the upper + // bits as different. + if (TRI->isSuperRegister(DefReg, KnownReg.Reg) && KnownReg.Imm < 0) + continue; } if (IsCopy) |