summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
diff options
context:
space:
mode:
authorAndrei Elovikov <andrei.elovikov@intel.com>2018-04-24 09:24:29 +0000
committerAndrei Elovikov <andrei.elovikov@intel.com>2018-04-24 09:24:29 +0000
commit822602a75e29dc945f098f27128171ed13df9d62 (patch)
treecd1382d3798cc21e8fea9348b909d7e65d7d491d /llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
parentc54e67d6b9010131d7ce81af0a957cbbd5a05525 (diff)
downloadbcm5719-llvm-822602a75e29dc945f098f27128171ed13df9d62.tar.gz
bcm5719-llvm-822602a75e29dc945f098f27128171ed13df9d62.zip
[CodeGen] Do not allow opt-bisect-limit to skip ScalarizeMaskedMemIntrin.
Summary: The pass is supposed to scalarize such intrinsics if the target does not support them natively, so if the scalarization does not happen instruction selection crashes due to inability to lower these intrinsics. Reviewers: andrew.w.kaylor, craig.topper Reviewed By: andrew.w.kaylor Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D45947 llvm-svn: 330700
Diffstat (limited to 'llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp')
-rw-r--r--llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp b/llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
index cef413f9d41..9387722bfeb 100644
--- a/llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
+++ b/llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
@@ -586,9 +586,6 @@ static void scalarizeMaskedScatter(CallInst *CI) {
}
bool ScalarizeMaskedMemIntrin::runOnFunction(Function &F) {
- if (skipFunction(F))
- return false;
-
bool EverMadeChange = false;
TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F);
OpenPOWER on IntegriCloud