]> granicus.if.org Git - llvm/commit
[DAGCombiner] Match ISD::SRA non-uniform constant vectors patterns using predicates.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 20 Jul 2017 10:43:05 +0000 (10:43 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 20 Jul 2017 10:43:05 +0000 (10:43 +0000)
commit272cd527cc2764f159445bb87d2a50dda68d7742
treef0753aa33586742a96df5de7aa15f4065d4ff18f
parent35ce55c79fc58716ec67cac8415acd9f58e32b7e
[DAGCombiner] Match ISD::SRA non-uniform constant vectors patterns using predicates.

Use predicate matchers introduced in D35492 to match more ISD::SRA constant folds

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