Refactor test to be reused across architectures

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie 2015-01-29 20:21:24 +00:00
parent 747f6ccc99
commit cca3ef3f5b
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,3 @@
; RUN: llc -mtriple=x86_64-linux -O0 -filetype=asm < %s | FileCheck %s
; From source:
; int f(int a, int b) {
; return a //
@ -11,7 +9,7 @@
; CHECK: .loc{{ +}}1{{ +}}2
; CHECK-NOT: .loc{{ }}
; CHECK: cmpl
; CHECK: cmp
; Function Attrs: nounwind uwtable
define i32 @_Z1fii(i32 %a, i32 %b) #0 {

View File

@ -0,0 +1 @@
; RUN: llc -mtriple=x86_64-linux -O0 -filetype=asm < %S/../Inputs/line.ll | FileCheck %S/../Inputs/line.ll