Skip to content
Commit 430f3f1b authored by Craig Topper's avatar Craig Topper
Browse files

Fix a crash in AVX2 when trying to broadcast a double into a 128-bit vector....

Fix a crash in AVX2 when trying to broadcast a double into a 128-bit vector. There is no vbroadcastsd xmm, but we do need to support 64-bit integers broadcasted into xmm. Also factor the AVX check into the isVectorBroadcast function. This makes more sense since the AVX2 check was already inside.

llvm-svn: 147844
parent b0c0f72a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment