]> granicus.if.org Git - llvm/commitdiff
[ArgPromote] Actually add FileCheck to a test that I actually updated to
authorChandler Carruth <chandlerc@gmail.com>
Wed, 8 Feb 2017 08:04:02 +0000 (08:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 8 Feb 2017 08:04:02 +0000 (08:04 +0000)
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

index 1aa675059dd82f6fb7d81d297958f8a678e4a520..d26da10baa53069ac1ef6068ed25d9e1fbea4f9e 100644 (file)
@@ -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) {