Fix load.i64 and store legalization

This commit is contained in:
bjorn3
2019-08-15 13:24:34 +02:00
committed by Dan Gohman
parent ffa1e946a7
commit 2426bce9ac
2 changed files with 23 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
test compile
target i686
function u0:0(i64, i32) system_v {
ebb0(v0: i64, v1: i32):
v2 = bor v0, v0
store v2, v1
return
}
function u0:1(i32) -> i64 system_v {
ebb0(v1: i32):
v0 = load.i64 v1
v2 = bor v0, v0
return v2
}