From 822602a75e29dc945f098f27128171ed13df9d62 Mon Sep 17 00:00:00 2001 From: Andrei Elovikov Date: Tue, 24 Apr 2018 09:24:29 +0000 Subject: [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 --- llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp') 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().getTTI(F); -- cgit v1.2.3