[SelectionDAG] Teach SelectionDAG::getNode to constant fold zext/aext/sext of constan...
authorCraig Topper <craig.topper@intel.com>
Sat, 23 Dec 2017 20:21:29 +0000 (20:21 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 23 Dec 2017 20:21:29 +0000 (20:21 +0000)
commit59bac370ba1150a5747f8af008d3dbe22d4c42b6
treed87e636eb2ca6ab4a9b179d7009a031126564199
parentd35f8227d8781ee4a99a52b36afee17f36a95a67
[SelectionDAG] Teach SelectionDAG::getNode to constant fold zext/aext/sext of constant build vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321414 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/fold-vector-sext-crash.ll
test/CodeGen/X86/masked_gather_scatter.ll
test/CodeGen/X86/vector-shuffle-v1.ll
test/CodeGen/X86/vselect.ll