Skip to content

Commit 8dfea57

Browse files
committed
[rebase] fix tes/Fir/cg-ops.fir
fir-opt was now complaining that: 'CodeGenRewrite' restricted to 'builtin.module' on a PassManager intended to run on 'builtin.func', did you intend to nest
1 parent 3cd0d48 commit 8dfea57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flang/test/Fir/cg-ops.fir

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// RUN: fir-opt --pass-pipeline="builtin.func(cg-rewrite),fir.global(cg-rewrite),cse" %s | FileCheck %s
2-
1+
// RUN: fir-opt --pass-pipeline="cg-rewrite,cse" %s | FileCheck %s
32
// CHECK-LABEL: func @codegen(
43
// CHECK-SAME: %[[arg:.*]]: !fir
54
func @codegen(%addr : !fir.ref<!fir.array<?xi32>>) {

0 commit comments

Comments
 (0)