diff --git a/llvm/test/DebugInfo/X86/line.ll b/llvm/test/DebugInfo/Inputs/line.ll similarity index 96% rename from llvm/test/DebugInfo/X86/line.ll rename to llvm/test/DebugInfo/Inputs/line.ll index 05c25d2772be..1a4a90800568 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 000000000000..24d9c5cbce0d --- /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