Skip to content

Commit d4ebad4

Browse files
committed
64 bit width is working
1 parent a330129 commit d4ebad4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lit/autodiff/square_real.thorin

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.import autodiff;
66
.import mem;
77

8-
.let _32 = 32;
8+
.let _32 = 64;
99
.let R32 = %core.Real _32;
1010

1111

@@ -60,8 +60,11 @@
6060

6161
// ret (6.0:R32)
6262

63-
.let b = %core.rop.mul (0, _32) (2.0:R32, 3.0:R32);
63+
// .let b = %core.rop.mul (0, _32) (2.0:R32, 3.0:R32);
64+
.let b = 6.0:R32;
6465
ret b
6566
};
6667

68+
// could return pair of (result, pb)
69+
6770
// CHECK-DAG: return{{.*}}176484

0 commit comments

Comments
 (0)