aboutsummaryrefslogtreecommitdiff
path: root/test/passes/inline-indexers/bundle-vecs.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/inline-indexers/bundle-vecs.fir')
-rw-r--r--test/passes/inline-indexers/bundle-vecs.fir12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/passes/inline-indexers/bundle-vecs.fir b/test/passes/inline-indexers/bundle-vecs.fir
index 28826056..f4fc609d 100644
--- a/test/passes/inline-indexers/bundle-vecs.fir
+++ b/test/passes/inline-indexers/bundle-vecs.fir
@@ -20,14 +20,14 @@ circuit top :
infer accessor b = a[i]
- ; CHECK: wire b{{[_$]+}}x_1 : UInt<32>
+ ; CHECK: wire b{{[_$]+}}x_2 : UInt<32>
; CHECK: node i_1 = i
- ; CHECK: b{{[_$]+}}x_1 := a{{[_$]+}}0{{[_$]+}}x
- ; CHECK: when eqv(i_1, UInt("h1")) : b{{[_$]+}}x_1 := a{{[_$]+}}1{{[_$]+}}x
- ; CHECK: wire b{{[_$]+}}y_1 : UInt<32>
+ ; CHECK: b{{[_$]+}}x_2 := a{{[_$]+}}0{{[_$]+}}x
+ ; CHECK: when eqv(i_1, UInt("h1")) : b{{[_$]+}}x_2 := a{{[_$]+}}1{{[_$]+}}x
+ ; CHECK: wire b{{[_$]+}}y_2 : UInt<32>
; CHECK: node i_2 = i
- ; CHECK: when eqv(i_2, UInt("h0")) : a{{[_$]+}}0{{[_$]+}}y := b{{[_$]+}}y_1
- ; CHECK: when eqv(i_2, UInt("h1")) : a{{[_$]+}}1{{[_$]+}}y := b{{[_$]+}}y_1
+ ; CHECK: when eqv(i_2, UInt("h0")) : a{{[_$]+}}0{{[_$]+}}y := b{{[_$]+}}y_2
+ ; CHECK: when eqv(i_2, UInt("h1")) : a{{[_$]+}}1{{[_$]+}}y := b{{[_$]+}}y_2
j := b.x
b.y := UInt(1)