[llvm] b585fda - [X86] Use Register instead of unsigned. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 08:05:54 PDT 2020
Author: Simon Pilgrim
Date: 2020-09-10T16:05:33+01:00
New Revision: b585fdae249e7b3524376222287e76e155ecd34b
URL: https://github.com/llvm/llvm-project/commit/b585fdae249e7b3524376222287e76e155ecd34b
DIFF: https://github.com/llvm/llvm-project/commit/b585fdae249e7b3524376222287e76e155ecd34b.diff
LOG: [X86] Use Register instead of unsigned. NFCI.
Fixes llvm-prefer-register-over-unsigned clang-tidy warnings.
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 031234925de4..4449a00b95c4 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -32178,7 +32178,7 @@ X86TargetLowering::EmitLoweredSegAlloca(MachineInstr &MI,
const TargetRegisterClass *AddrRegClass =
getRegClassFor(getPointerTy(MF->getDataLayout()));
- unsigned mallocPtrVReg = MRI.createVirtualRegister(AddrRegClass),
+ Register mallocPtrVReg = MRI.createVirtualRegister(AddrRegClass),
bumpSPPtrVReg = MRI.createVirtualRegister(AddrRegClass),
tmpSPVReg = MRI.createVirtualRegister(AddrRegClass),
SPLimitVReg = MRI.createVirtualRegister(AddrRegClass),
More information about the llvm-commits
mailing list