mirror of https://github.com/llvm/circt.git
[FIRRTL] lower-layers.mlir: fix incorrect op name in test (#7232)
This commit is contained in:
parent
bf7c4e722e
commit
19713ea85c
|
@ -34,7 +34,7 @@ firrtl.circuit "Test" {
|
|||
%0 = firrtl.wire : !firrtl.probe<bundle<f: uint<1>>, @A>
|
||||
// CHECK: %1 = firrtl.ref.sub %0[0] : !firrtl.probe<bundle<f: uint<1>>>
|
||||
%1 = firrtl.ref.sub %0[0] : !firrtl.probe<bundle<f: uint<1>>, @A>
|
||||
// CHECK-NOT: firrtl.cast
|
||||
// CHECK-NOT: firrtl.ref.cast
|
||||
%2 = firrtl.ref.cast %1 : (!firrtl.probe<uint<1>, @A>) -> !firrtl.probe<uint<1>, @A::@B>
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ firrtl.circuit "Test" {
|
|||
%0 = firrtl.wire : !firrtl.probe<bundle<f: uint<1>>, @A>
|
||||
// CHECK: %1 = firrtl.ref.sub %0[0] : !firrtl.probe<bundle<f: uint<1>>>
|
||||
%1 = firrtl.ref.sub %0[0] : !firrtl.probe<bundle<f: uint<1>>, @A>
|
||||
// CHECK-NOT: firrtl.cast
|
||||
// CHECK-NOT: firrtl.ref.cast
|
||||
%2 = firrtl.ref.cast %1 : (!firrtl.probe<uint<1>, @A>) -> !firrtl.probe<uint<1>, @A::@B>
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue