Skip to content

Commit eb8e8e8

Browse files
committed
[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.
1 parent f78150d commit eb8e8e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
#ifndef CLANG_CIR_INTERFACES_CIRLOOPOPINTERFACE_H
1414
#define CLANG_CIR_INTERFACES_CIRLOOPOPINTERFACE_H
1515

16+
#include "llvm/ADT/APInt.h"
1617
#include "mlir/IR/BuiltinTypes.h"
1718
#include "mlir/IR/OpDefinition.h"
1819
#include "mlir/IR/Operation.h"
1920
#include "mlir/Interfaces/ControlFlowInterfaces.h"
2021
#include "mlir/Interfaces/LoopLikeInterface.h"
2122

23+
using llvm::APInt;
2224
namespace cir {
2325
namespace detail {
2426

0 commit comments

Comments
 (0)