forked from OSchip/llvm-project
Refactor test to be reused across architectures
llvm-svn: 227487
This commit is contained in:
parent
939ce9c79e
commit
24adfbc20c
|
@ -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 {
|
|
@ -0,0 +1 @@
|
|||
; RUN: llc -mtriple=x86_64-linux -O0 -filetype=asm < %S/../Inputs/line.ll | FileCheck %S/../Inputs/line.ll
|
Loading…
Reference in New Issue