mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 15:38: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
|
||||
@@ -52,7 +52,7 @@ block b5:
|
||||
fun f64 @custom_abs (f64) {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
allocations:
|
||||
%l0:f64:a
|
||||
%l1:f64:t0
|
||||
|
||||
@@ -84,7 +84,7 @@ block b3:
|
||||
fun f64 @custom_max (f64, f64) {
|
||||
init:
|
||||
bid: b0
|
||||
allocations:
|
||||
allocations:
|
||||
%l0:f64:a
|
||||
%l1:f64:b
|
||||
%l2:f64:t0
|
||||
@@ -118,7 +118,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
|
||||
@@ -154,7 +154,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