OSDN Git Service

[DAGCombiner] Make the isTruncateOf call from visitZERO_EXTEND work for vectors....
authorCraig Topper <craig.topper@intel.com>
Thu, 1 Nov 2018 23:21:45 +0000 (23:21 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 1 Nov 2018 23:21:45 +0000 (23:21 +0000)
commit41672bb1ce075acaa6d5d36f73ec30fb136784cb
tree426502b7e6ea586b8146224e7a95980fc7789596
parent7cdbd1162cba6d0e8212399552baa170262632de
[DAGCombiner] Make the isTruncateOf call from visitZERO_EXTEND work for vectors. Remove FIXME.

I'm having trouble creating a test case for the ISD::TRUNCATE part of this that shows any codegen differences. But I was able to test the setcc path which is what the test changes here cover.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345908 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/vector-pcmp.ll