Bind constant vectors to vconst; fixes #1052 (#1217)

This commit is contained in:
Andrew Brown
2019-11-12 15:57:59 -08:00
committed by Dan Gohman
parent 9080a02e10
commit 04db2a9f39
2 changed files with 9 additions and 14 deletions

View File

@@ -67,7 +67,6 @@ ebb0:
; nextln: v2 = iconst.i32 42
; nextln: v0 = ireduce.i8 v2
; nextln: v3 = scalar_to_vector.i8x16 v0
; nextln: v4 = f64const 0.0
; nextln: v5 = raw_bitcast.i8x16 v4
; nextln: v1 = x86_pshufb v3, v5
; nextln: v4 = vconst.i8x16 0x00
; nextln: v1 = x86_pshufb v3, v4
; nextln: return v1