]> granicus.if.org Git - llvm/commit
[X86] Use DAG.getConstant instead of getZeroVector in combinePMULDQ.
authorCraig Topper <craig.topper@intel.com>
Sun, 8 Sep 2019 19:24:42 +0000 (19:24 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 8 Sep 2019 19:24:42 +0000 (19:24 +0000)
commit9b414d577f2e8254ce6776e9afc18525ff08dda7
treee69a428e09dcc1db206f72c3f5634f5cdb1c54f8
parentefb11053fc072a68e85af1d90325d6c268372d16
[X86] Use DAG.getConstant instead of getZeroVector in combinePMULDQ.

getZeroVector canonicalizes the type to vXi32, but that's a
legalization action. We should use the most correct type if
possible.

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