Author: erichkeane
Date: 2025-09-17T06:45:10-07:00
New Revision: eb8e8e87c6b5256f55551cf24f96a4cc54177a42

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

LOG: [NFC] Fic clangIR build after #158679

The commit from #158679 added getStaticTripCount to LoopLikeOpInterface,
which the CIRLoopOpInterface uses.  However, it doesn't include APInt.

This patch adds an include for APInt to CIRLoopOpInterface, plus a
'using', as we're likely to run into this again.

Added: 
    

Modified: 
    clang/include/clang/CIR/Interfaces/CIRLoopOpInterface.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/CIR/Interfaces/CIRLoopOpInterface.h 
b/clang/include/clang/CIR/Interfaces/CIRLoopOpInterface.h
index 3722c5e4a195c..90fd07919dc01 100644
--- a/clang/include/clang/CIR/Interfaces/CIRLoopOpInterface.h
+++ b/clang/include/clang/CIR/Interfaces/CIRLoopOpInterface.h
@@ -13,12 +13,14 @@
 #ifndef CLANG_CIR_INTERFACES_CIRLOOPOPINTERFACE_H
 #define CLANG_CIR_INTERFACES_CIRLOOPOPINTERFACE_H
 
+#include "llvm/ADT/APInt.h"
 #include "mlir/IR/BuiltinTypes.h"
 #include "mlir/IR/OpDefinition.h"
 #include "mlir/IR/Operation.h"
 #include "mlir/Interfaces/ControlFlowInterfaces.h"
 #include "mlir/Interfaces/LoopLikeInterface.h"
 
+using llvm::APInt;
 namespace cir {
 namespace detail {
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to