cranelift: Update i128 tests to use i128 values in functions

This commit is contained in:
Afonso Bordado
2021-09-15 15:18:04 +01:00
parent 8115e7252d
commit eae1b2d246
23 changed files with 1164 additions and 1412 deletions

View File

@@ -1,12 +1,12 @@
test run
set enable_llvm_abi_extensions=true
target aarch64
target x86_64 machinst
function %bint_b8_i128() -> i64, i64 {
function %bint_b8_i128() -> i128 {
block0:
v0 = bconst.b8 true
v1 = bint.i128 v0
v2, v3 = isplit.i128 v1
return v2, v3
return v1
}
; run: %bint_b8_i128() == [1, 0]
; run: %bint_b8_i128() == 1