From: Chandler Carruth Date: Wed, 8 Feb 2017 08:04:02 +0000 (+0000) Subject: [ArgPromote] Actually add FileCheck to a test that I actually updated to X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=035430b4ca8545671d3b33ddc258b9b05ad207a9;p=llvm [ArgPromote] Actually add FileCheck to a test that I actually updated to have nice CHECK patterns instead of relying on a coarse 'not grep' check. Sorry that I missed this the first time through. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294422 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/ArgumentPromotion/control-flow.ll b/test/Transforms/ArgumentPromotion/control-flow.ll index 1aa675059dd..d26da10baa5 100644 --- a/test/Transforms/ArgumentPromotion/control-flow.ll +++ b/test/Transforms/ArgumentPromotion/control-flow.ll @@ -1,5 +1,4 @@ -; RUN: opt < %s -argpromotion -S | \ -; RUN: not grep "load i32* null" +; RUN: opt < %s -argpromotion -S | FileCheck %s ; Don't promote around control flow. define internal i32 @callee(i1 %C, i32* %P) {