Use raw_bitcast when legalizing splat

raw_bitcast matches the intent of this legalization more clearly (to simply change the CLIF type without changing any bits) and the additional null encodings added are necessary for later instructions
This commit is contained in:
Andrew Brown
2019-08-21 15:15:27 -07:00
parent 8a6686ec45
commit ebc783e49b
3 changed files with 30 additions and 14 deletions

View File

@@ -68,6 +68,6 @@ ebb0:
; nextln: v0 = ireduce.i8 v2
; nextln: v3 = scalar_to_vector.i8x16 v0
; nextln: v4 = f64const 0.0
; nextln: v5 = bitcast.i8x16 v4
; nextln: v5 = raw_bitcast.i8x16 v4
; nextln: v1 = x86_pshufb v3, v5
; nextln: return v1