[llvm] d8ce19a - Build fix after bbde6b

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 12 07:35:21 PDT 2025


Author: Philip Reames
Date: 2025-08-12T07:35:06-07:00
New Revision: d8ce19ae6b759d762fe067bc42548e425c1ea060

URL: https://github.com/llvm/llvm-project/commit/d8ce19ae6b759d762fe067bc42548e425c1ea060
DIFF: https://github.com/llvm/llvm-project/commit/d8ce19ae6b759d762fe067bc42548e425c1ea060.diff

LOG: Build fix after bbde6b

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/MachineFrameInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/MachineFrameInfo.h b/llvm/include/llvm/CodeGen/MachineFrameInfo.h
index 35af5fbce61ea..a92b051f67f9c 100644
--- a/llvm/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineFrameInfo.h
@@ -839,7 +839,7 @@ class MachineFrameInfo {
   static SmallVector<MachineBasicBlock *> constructSaveRestorePoints(
       ArrayRef<MachineBasicBlock *> SRPoints,
       const DenseMap<MachineBasicBlock *, MachineBasicBlock *> &BBMap) {
-    SmallVector<MachineBasicBlock *, 4> Pts;
+    SmallVector<MachineBasicBlock *> Pts;
     for (auto &Src : SRPoints)
       Pts.push_back(BBMap.find(Src)->second);
     return Pts;


        


More information about the llvm-commits mailing list