diff options
author | Zachary Turner <zturner@google.com> | 2017-03-07 21:53:21 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-07 21:53:21 +0000 |
commit | 48d257d76cac5bfc3f0e1f15125d21577a2299da (patch) | |
tree | a101be6191205c3da08fdb5dc467aad98dabb717 | |
parent | 53fa17a0143e3758b739fd28e55fe0fcb807ecf7 (diff) | |
download | bcm5719-llvm-48d257d76cac5bfc3f0e1f15125d21577a2299da.tar.gz bcm5719-llvm-48d257d76cac5bfc3f0e1f15125d21577a2299da.zip |
Fix source-lines test on Windows.
llvm-svn: 297233
-rw-r--r-- | llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll b/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll index b1fce6e7c2f..94c4952e338 100644 --- a/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll +++ b/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll @@ -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. |