FileCheck-ize a test to make it easier to migrate to typeless pointers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229278 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie 2015-02-15 04:14:00 +00:00
parent 51e38bc096
commit 16035d6c0c

View File

@ -1,5 +1,6 @@
; RUN: opt < %s -argpromotion -S | \ ; RUN: opt < %s -argpromotion -S | FileCheck %s
; RUN: grep "load i32\* %A"
; 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" 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) { define internal i32 @callee(i1 %C, i32* %P) {