summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/Signals.inc
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-04-12 13:29:25 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2017-04-12 13:29:25 +0000
commit22776892c9aad3cedd2f3692d324ff45af1b29fb (patch)
treea4613b602bdf1b5b5c21bc1176a3dfb17b61dd92 /llvm/lib/Support/Unix/Signals.inc
parent33580692f61e8c0cb540604f6b55abb7bd78df5f (diff)
downloadbcm5719-llvm-22776892c9aad3cedd2f3692d324ff45af1b29fb.tar.gz
bcm5719-llvm-22776892c9aad3cedd2f3692d324ff45af1b29fb.zip
[SLPVectorizer] Pass the right type argument to getCmpSelInstrCost()
In getEntryCost(), make the scalar type for a compare instruction that of the operands, not i1. This is needed in order to call getCmpSelInstrCost() for a compare in a sensible way, the same way as the LoopVectorizer does. New test: test/Transforms/SLPVectorizer/SystemZ/SLP-cmp-cost-query.ll Review: Matthew Simpson https://reviews.llvm.org/D31601 llvm-svn: 300061
Diffstat (limited to 'llvm/lib/Support/Unix/Signals.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud