Revisit my fix for PR9028: the issue is that DAGCombine was
authorChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2011 19:09:16 +0000 (19:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2011 19:09:16 +0000 (19:09 +0000)
commite075118489baf15a7cea2e7f155b4799b93d6d02
tree9cf6795a2e0d8eddc3739d05383dcd29de983679
parente5116f840eedbc3cffa31adc683b4e37d53f2c7a
Revisit my fix for PR9028: the issue is that DAGCombine was
generating i8 shift amounts for things like i1024 types.  Add
an assert in getNode to prevent this from occuring in the future,
fix the buggy transformation, revert my previous patch, and
document this gotcha in ISDOpcodes.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125465 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ISDOpcodes.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp