Skip to content

Commit 575be3e

Browse files
committed
[AMDGPU][llvm-split] Make declarations test more stable
Delete the previous files if present, to ensure it won't fail if the output directory of the tests wasn't cleared.
1 parent b9f4afa commit 575be3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/test/tools/llvm-split/AMDGPU/declarations.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; RUN: rm -rf %t0 %t1
12
; RUN: llvm-split -o %t %s -j 2 -mtriple amdgcn-amd-amdhsa
23
; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s
34
; RUN: not llvm-dis -o - %t1

0 commit comments

Comments
 (0)