diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-11-18 21:17:19 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-11-18 21:17:19 +0000 |
commit | c1a46b729be281974b18339298b8fa64bac81151 (patch) | |
tree | 228074690c30dc18ca71a15b88c3eb1e83b87df9 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 6e557165097e442c95ad7cc38f1fda113f45c79b (diff) | |
download | llvm-c1a46b729be281974b18339298b8fa64bac81151.zip llvm-c1a46b729be281974b18339298b8fa64bac81151.tar.gz llvm-c1a46b729be281974b18339298b8fa64bac81151.tar.bz2 |
[DAGCombiner] Vector constant folding for comparisons
This patch adds support for vector constant folding of integer/float comparisons.
This requires FoldConstantVectorArithmetic to support scalar constant operands (in this case ISD::CONDCASE). In future we should be able to support other scalar constant types as necessary (and possibly start calling FoldConstantVectorArithmetic for all node creations)
Differential Revision: http://reviews.llvm.org/D14683
llvm-svn: 253504
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions