summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRPrinter.h
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-10-03 16:26:52 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-10-03 16:26:52 +0000
commita38d76a08798b8419ee3cad64535e1241725064b (patch)
tree9f9f39bcfdb39b80668bfb2a99cc4f1eefa9651d /llvm/lib/CodeGen/MIRPrinter.h
parent8b563665c3dc7f3e11b824a58c9676c2a1469aeb (diff)
downloadbcm5719-llvm-a38d76a08798b8419ee3cad64535e1241725064b.tar.gz
bcm5719-llvm-a38d76a08798b8419ee3cad64535e1241725064b.zip
[DAGCombiner] Merge SIGN_EXTEND_INREG vector constant folding methods. NCI.
visitSIGN_EXTEND_INREG calls SelectionDAG::getNode to constant fold scalar constants but handles vector constants itself, despite getNode being capable of dealing with them. This required a minor change to the getNode implementation to actually deal with cases where the scalars of a BUILD_VECTOR were wider integers than the vector type - which was the only extra ability of the visitSIGN_EXTEND_INREG implementation. No codegen intended and all existing tests remain the same. llvm-svn: 249236
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud