Legalize load.i128 and store.i128
This commit is contained in:
@@ -26,3 +26,21 @@ ebb0(v0: i128):
|
||||
; check: v6 = x86_pop.i64
|
||||
; check: return v3, v4, v6
|
||||
}
|
||||
|
||||
function u0:1(i64, i128) fast {
|
||||
; check: ebb0(v0: i64 [%rdi], v2: i64 [%rsi], v3: i64 [%rdx], v4: i64 [%rbp]):
|
||||
ebb0(v0: i64, v1: i128):
|
||||
; check: store v2, v0
|
||||
; check: store v3, v0+8
|
||||
store v1, v0
|
||||
return
|
||||
}
|
||||
|
||||
function u0:1(i64) -> i128 fast {
|
||||
ebb0(v0: i64):
|
||||
; check: v2 = load.i64 v0
|
||||
; check: v3 = load.i64 v0+8
|
||||
v1 = load.i128 v0
|
||||
; check: return v2, v3, v5
|
||||
return v1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user