Suppress '(x < y) ? a : 0 -> (x < y) & a' transform on X86 architectures with dedicat...
authorCameron McInally <cameron.mcinally@nyu.edu>
Wed, 4 Dec 2013 14:52:33 +0000 (14:52 +0000)
committerCameron McInally <cameron.mcinally@nyu.edu>
Wed, 4 Dec 2013 14:52:33 +0000 (14:52 +0000)
commit80955805e47f79a616ad1459bfdbb767ff036ed6
tree89479ce4ccce8e06ae652a44dba3ecd0f808e928
parent84677400010d04421204d6a0bc617565835c337d
Suppress '(x < y) ? a : 0 -> (x < y) & a' transform on X86 architectures with dedicated mask registers.

Patch by Aleksey Bader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196386 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx512-vselect-crash.ll [new file with mode: 0644]