mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
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:
parent
747f6ccc99
commit
cca3ef3f5b
@ -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 {
|
1
test/DebugInfo/X86/line.test
Normal file
1
test/DebugInfo/X86/line.test
Normal file
@ -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
Block a user