From 094c0eccdf959c3b9c85219e33c3fcfbab024b61 Mon Sep 17 00:00:00 2001 From: Jordan Rupprecht Date: Thu, 10 Nov 2022 22:05:09 -0800 Subject: [PATCH] Avoid fallthrough after ffb109b6852d248c9d2e3202477dccf20aac7151 Fallthrough appears to be not intended here, as otherwise this is a completely dead store: `DOPRegIsUnique` will be overwritten by the next case. --- llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp b/llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp index 7bfb8c8..e903c52 100644 --- a/llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp +++ b/llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp @@ -492,6 +492,7 @@ bool AArch64ExpandPseudo::expand_DestructiveOp( switch (DType) { case AArch64::DestructiveBinary: DOPRegIsUnique = DstReg != MI.getOperand(SrcIdx).getReg(); + break; case AArch64::DestructiveBinaryComm: case AArch64::DestructiveBinaryCommWithRev: DOPRegIsUnique = -- 2.7.4