We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e84a91 commit 12fd2a6Copy full SHA for 12fd2a6
clang/lib/CIR/Dialect/Transforms/HoistAllocas.cpp
@@ -47,7 +47,7 @@ static void process(mlir::ModuleOp mod, cir::FuncOp func) {
47
48
mlir::Operation *insertPoint = &*entryBlock.begin();
49
50
- for (auto alloca : allocas) {
+ for (cir::AllocaOp alloca : allocas) {
51
// Preserving the `const` attribute on hoisted allocas can cause LLVM to
52
// incorrectly introduce invariant group metadata in some circumstances.
53
// The incubator performs some analysis to determine whether the attribute
0 commit comments