mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Fix examples formatting
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
fun f64 @average (i32, i32*) {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
allocations:
|
||||
%l0:i32:len
|
||||
%l1:i32*:a
|
||||
%l2:i32:sum
|
||||
@@ -50,7 +50,7 @@ block b5:
|
||||
fun f64 @custom_abs (f64) {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
allocations:
|
||||
%l0:f64:a
|
||||
%l1:f64:t0
|
||||
|
||||
@@ -81,7 +81,7 @@ block b3:
|
||||
fun f64 @custom_max (f64, f64) {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
allocations:
|
||||
%l0:f64:a
|
||||
%l1:f64:b
|
||||
%l2:f64:t0
|
||||
@@ -114,7 +114,7 @@ block b3:
|
||||
fun i32 @is_close (f64, f64, f64, f64) {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
allocations:
|
||||
%l0:f64:a
|
||||
%l1:f64:b
|
||||
%l2:f64:rel_tol
|
||||
@@ -150,7 +150,7 @@ block b0:
|
||||
fun i32 @main () {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
allocations:
|
||||
%l0:[10 x i32]:a
|
||||
%l1:i32:len
|
||||
%l2:i32:i
|
||||
|
||||
Reference in New Issue
Block a user