From 035430b4ca8545671d3b33ddc258b9b05ad207a9 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 8 Feb 2017 08:04:02 +0000 Subject: [PATCH] [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 --- test/Transforms/ArgumentPromotion/control-flow.ll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.50.1