Always name the return place.
This commit is contained in:
parent
d4096e0412
commit
d7983a2f23
25 changed files with 191 additions and 195 deletions
|
@ -9,7 +9,7 @@ pub fn test(a: u32, b: u32) -> u32 {
|
|||
// CHECK: %c = add i32 %a, %b
|
||||
let d = c;
|
||||
let e = d * a;
|
||||
// CHECK-NEXT: %0 = mul i32 %c, %a
|
||||
// CHECK-NEXT: %e = mul i32 %c, %a
|
||||
e
|
||||
// CHECK-NEXT: ret i32 %0
|
||||
// CHECK-NEXT: ret i32 %e
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue