Don't try to use the insertps instruction for vector
authorDan Gohman <gohman@apple.com>
Thu, 14 Aug 2008 22:43:26 +0000 (22:43 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 14 Aug 2008 22:43:26 +0000 (22:43 +0000)
commitc0573b13a119e1e504225542bddd85db7d4bd29f
treed79f0d4b61708d272e84bca0eab1f905f1e1c4d8
parente285a74f7cf9dd3ccf4fe758576cf83301f8a43e
Don't try to use the insertps instruction for vector
element inserts with non-constant indices. This fixes
CodeGen/X86/vector-variable-idx.ll on machines that
have SSE4.1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54801 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp