]> granicus.if.org Git - llvm/commitdiff
Fix source-lines test on Windows.
authorZachary Turner <zturner@google.com>
Tue, 7 Mar 2017 21:53:21 +0000 (21:53 +0000)
committerZachary Turner <zturner@google.com>
Tue, 7 Mar 2017 21:53:21 +0000 (21:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297233 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-objdump/AMDGPU/source-lines.ll

index b1fce6e7c2f62b14df8c4e260d658d7fe411328a..94c4952e338617b173d235ebdd609c3d08e27713 100644 (file)
@@ -1,22 +1,22 @@
-; RUN: sed -e "s,SRC_COMPDIR,%p/Inputs,g" %s > %t.ll
+; RUN: sed -e "s,SRC_COMPDIR,%/p/Inputs,g" %s > %t.ll
 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx800 -filetype=obj -O0 -o %t.o %t.ll
 ; RUN: llvm-objdump -triple=amdgcn-amd-amdhsa -mcpu=gfx800 -disassemble -line-numbers %t.o | FileCheck --check-prefix=LINE %t.ll
 ; RUN: llvm-objdump -triple=amdgcn-amd-amdhsa -mcpu=gfx800 -disassemble -source %t.o | FileCheck --check-prefix=SOURCE %t.ll
 
 ; Prologue.
 ; LINE:      source_lines_test:
-; LINE-NEXT: ; SRC_COMPDIR/source-lines.cl:1
+; LINE-NEXT: ; {{.*}}source-lines.cl:1
 ; Kernel.
-; LINE: ; SRC_COMPDIR/source-lines.cl:2
+; LINE: ; {{.*}}source-lines.cl:2
 ; LINE: v_mov_b32_e32 v{{[0-9]+}}, 0x777
-; LINE: ; SRC_COMPDIR/source-lines.cl:3
+; LINE: ; {{.*}}source-lines.cl:3
 ; LINE: v_mov_b32_e32 v{{[0-9]+}}, 0x888
-; LINE: ; SRC_COMPDIR/source-lines.cl:4
+; LINE: ; {{.*}}source-lines.cl:4
 ; LINE: v_add_i32_e32
-; LINE: ; SRC_COMPDIR/source-lines.cl:5
+; LINE: ; {{.*}}source-lines.cl:5
 ; LINE: flat_store_dword
 ; Epilogue.
-; LINE:      ; SRC_COMPDIR/source-lines.cl:6
+; LINE:      ; {{.*}}source-lines.cl:6
 ; LINE-NEXT: s_endpgm
 
 ; Prologue.