[llvm] r229278 - FileCheck-ize a test to make it easier to migrate to typeless pointers
David Blaikie
dblaikie at gmail.com
Sat Feb 14 20:14:00 PST 2015
Author: dblaikie
Date: Sat Feb 14 22:14:00 2015
New Revision: 229278
URL: http://llvm.org/viewvc/llvm-project?rev=229278&view=rev
Log:
FileCheck-ize a test to make it easier to migrate to typeless pointers
Modified:
llvm/trunk/test/Transforms/ArgumentPromotion/control-flow2.ll
Modified: llvm/trunk/test/Transforms/ArgumentPromotion/control-flow2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ArgumentPromotion/control-flow2.ll?rev=229278&r1=229277&r2=229278&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ArgumentPromotion/control-flow2.ll (original)
+++ llvm/trunk/test/Transforms/ArgumentPromotion/control-flow2.ll Sat Feb 14 22:14:00 2015
@@ -1,5 +1,6 @@
-; RUN: opt < %s -argpromotion -S | \
-; RUN: grep "load i32\* %A"
+; RUN: opt < %s -argpromotion -S | FileCheck %s
+
+; CHECK: load i32* %A
target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
define internal i32 @callee(i1 %C, i32* %P) {
More information about the llvm-commits
mailing list