diff --git a/llvm/lib/Target/AIE/AIEWawRegRewriter.cpp b/llvm/lib/Target/AIE/AIEWawRegRewriter.cpp index bd40bf0a5c96..0a371119479a 100644 --- a/llvm/lib/Target/AIE/AIEWawRegRewriter.cpp +++ b/llvm/lib/Target/AIE/AIEWawRegRewriter.cpp @@ -181,7 +181,7 @@ AIEWawRegRewriter::getVRegWithCopies(const MachineBasicBlock &MBB) const { // a running list of VRegWithCopies across various MBBs. SmallVector VRegs; - uint MaxVReg = 0; + unsigned MaxVReg = 0; for (const MachineInstr &MI : MBB) { for (const MachineOperand Def : MI.defs()) { Register Reg = Def.getReg();