diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/DebugInfo/Inputs/line.ll (renamed from llvm/test/DebugInfo/X86/line.ll) | 4 | ||||
-rw-r--r-- | llvm/test/DebugInfo/X86/line.test | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/DebugInfo/X86/line.ll b/llvm/test/DebugInfo/Inputs/line.ll index 05c25d2772b..1a4a9080056 100644 --- a/llvm/test/DebugInfo/X86/line.ll +++ b/llvm/test/DebugInfo/Inputs/line.ll @@ -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 { diff --git a/llvm/test/DebugInfo/X86/line.test b/llvm/test/DebugInfo/X86/line.test new file mode 100644 index 00000000000..24d9c5cbce0 --- /dev/null +++ b/llvm/test/DebugInfo/X86/line.test @@ -0,0 +1 @@ +; RUN: llc -mtriple=x86_64-linux -O0 -filetype=asm < %S/../Inputs/line.ll | FileCheck %S/../Inputs/line.ll |