[llvm] 389958a - [CodeGen][NFC] Fix formatting
Bill Wendling via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 17 12:36:12 PDT 2023
Author: Bill Wendling
Date: 2023-10-17T12:35:30-07:00
New Revision: 389958a9f67ae35dde9c46205bb032842f0cad6a
URL: https://github.com/llvm/llvm-project/commit/389958a9f67ae35dde9c46205bb032842f0cad6a
DIFF: https://github.com/llvm/llvm-project/commit/389958a9f67ae35dde9c46205bb032842f0cad6a.diff
LOG: [CodeGen][NFC] Fix formatting
This fixes the formatting introduced by
fbf0a77e80f18a6d0fd8a28833b0bc87a99b1b2f.
Added:
Modified:
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index 7dcf24c26e124ae..7f1421549b1492e 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -9141,9 +9141,7 @@ void AArch64InstrInfo::buildClearRegister(Register Reg, MachineBasicBlock &MBB,
const AArch64RegisterInfo &TRI = *STI.getRegisterInfo();
if (TRI.isGeneralPurposeRegister(MF, Reg)) {
- BuildMI(MBB, Iter, DL, get(AArch64::MOVZXi), Reg)
- .addImm(0)
- .addImm(0);
+ BuildMI(MBB, Iter, DL, get(AArch64::MOVZXi), Reg).addImm(0).addImm(0);
} else if (STI.hasSVE()) {
BuildMI(MBB, Iter, DL, get(AArch64::DUP_ZI_D), Reg)
.addImm(0)
More information about the llvm-commits
mailing list