[x86] Refactor the code for emitting INSERTPS to reuse the zeroable mask
authorChandler Carruth <chandlerc@gmail.com>
Sat, 20 Sep 2014 03:57:01 +0000 (03:57 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 20 Sep 2014 03:57:01 +0000 (03:57 +0000)
commit9ba9f1a7e6a4ee92efb736da915566de313598e0
tree39e9d4ce15f204b25fd65c86c3eb26057f263516
parentcc62abbe39fdb019fcc71bd4937bb84ced0cd0ca
[x86] Refactor the code for emitting INSERTPS to reuse the zeroable mask
analysis used elsewhere. This removes the last duplicate of this logic.
Also simplify the code here quite a bit. No functionality changed.

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