clif: Remove the type variable from swizzle (#5897)

This instruction is only defined with i8x16 inputs and outputs so
there's no need for a type variable, so shadow the otherwise-generic `a`
result with a concrete i8x16 type.
This commit is contained in:
Alex Crichton
2023-02-28 18:38:53 -06:00
committed by GitHub
parent e0ef0b7c72
commit c4a2c1e818
9 changed files with 10 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ function %swizzle() -> i8x16 {
block0:
v0 = vconst.i8x16 [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]
v1 = vconst.i8x16 [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]
v2 = swizzle.i8x16 v0, v1
v2 = swizzle v0, v1
return v2
}

View File

@@ -3,7 +3,7 @@ target s390x
function %swizzle(i8x16, i8x16) -> i8x16 wasmtime_system_v {
block0(v0: i8x16, v1: i8x16):
v2 = swizzle.i8x16 v0, v1
v2 = swizzle v0, v1
return v2
}

View File

@@ -3,7 +3,7 @@ target s390x
function %swizzle(i8x16, i8x16) -> i8x16 {
block0(v0: i8x16, v1: i8x16):
v2 = swizzle.i8x16 v0, v1
v2 = swizzle v0, v1
return v2
}

View File

@@ -114,7 +114,7 @@ function %swizzle() -> i8x16 {
block0:
v0 = vconst.i8x16 [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]
v1 = vconst.i8x16 [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]
v2 = swizzle.i8x16 v0, v1
v2 = swizzle v0, v1
return v2
}