[llvm] r294422 - [ArgPromote] Actually add FileCheck to a test that I actually updated to
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 8 00:04:02 PST 2017
Author: chandlerc
Date: Wed Feb 8 02:04:02 2017
New Revision: 294422
URL: http://llvm.org/viewvc/llvm-project?rev=294422&view=rev
Log:
[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.
Modified:
llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll
Modified: llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll?rev=294422&r1=294421&r2=294422&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll (original)
+++ llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll Wed Feb 8 02:04:02 2017
@@ -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) {
More information about the llvm-commits
mailing list