aboutsummaryrefslogtreecommitdiff
path: root/test/passes/resolve-genders
diff options
context:
space:
mode:
authorazidar2015-04-17 10:59:32 -0700
committerazidar2015-04-17 10:59:32 -0700
commit01fa067fe52081463222110b957053734e357f79 (patch)
treee54db5f543c4c9a84e6b120468c4008a4edac8d0 /test/passes/resolve-genders
parent06ff7f7dddcb479d9d4d775a55cbb18d873b35b9 (diff)
Fixed bug in primop lowering during type inference. Added reduce instructions and renamed concat -> cat, equal -> eq, and added neq and neg
Diffstat (limited to 'test/passes/resolve-genders')
-rw-r--r--test/passes/resolve-genders/gcd.fir6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/passes/resolve-genders/gcd.fir b/test/passes/resolve-genders/gcd.fir
index 1f41cacd..2190d284 100644
--- a/test/passes/resolve-genders/gcd.fir
+++ b/test/passes/resolve-genders/gcd.fir
@@ -7,7 +7,7 @@ circuit top :
input y : UInt
output z : UInt
z := sub-wrap(x, y)
- ;CHECK: z@<g:female> := sub-wrap(x@<g:male>, y@<g:male>)
+ ;CHECK: z@<g:female> := sub-wrap-uu(x@<g:male>, y@<g:male>)
module gcd :
input a : UInt(16)
input b : UInt(16)
@@ -20,7 +20,7 @@ circuit top :
x.init := UInt(0)
y.init := UInt(42)
when gt(x, y) :
- ;CHECK: when gt(x@<g:male>, y@<g:male>) :
+ ;CHECK: when gt-uu(x@<g:male>, y@<g:male>) :
inst s of subtracter
;CHECK: inst s of subtracter@<g:female>
s.x := x
@@ -37,7 +37,7 @@ circuit top :
when e :
x := a
y := b
- v := equal(v, UInt(0))
+ v := eq(v, UInt(0))
z := x
module top :
input a : UInt(16)