Skip to content

Commit 9132f21

Browse files
committed
Update on "[CIR][IR] Refactor do-while loops"
Creates a separate C/C++ operation for do-while loops, while keeping the LoopOpInterface to generically handle loops. This simplifies the IR generation and printing/parsing of do-while loops. It also allows us to define it regions in the order that they are executed, which is useful for the lifetime analysis. [ghstack-poisoned]
2 parents 665c49a + ff3ef8f commit 9132f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/CIR/Dialect/IR/CIRDialect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#include "clang/CIR/Dialect/IR/CIRTypes.h"
3333

3434
#include "clang/CIR/Interfaces/ASTAttrInterfaces.h"
35-
#include "clang/CIR/Interfaces/CIROpInterfaces.h"
3635
#include "clang/CIR/Interfaces/CIRLoopOpInterface.h"
36+
#include "clang/CIR/Interfaces/CIROpInterfaces.h"
3737

3838
namespace mlir {
3939
namespace OpTrait {

0 commit comments

Comments
 (0)