Add verifier check to ensure each SIMD lane index is within bounds, fixes #1016

This commit is contained in:
Andrew Brown
2019-09-13 16:41:46 -07:00
parent 863ac809d9
commit 9b852fde09
3 changed files with 83 additions and 16 deletions

View File

@@ -2,8 +2,8 @@ test binemit
set enable_simd
target x86_64 haswell
; for extractlane, floats are legalized differently than integers and booleans; integers and booleans use x86_pextr
; which is manually placed in the IR so that it can be binemit-tested
; for extractlane, floats are legalized differently than integers and booleans; integers and
; booleans use x86_pextr which is manually placed in the IR so that it can be binemit-tested
function %test_extractlane_b8() {
ebb0: