[llvm] 575be3e - [AMDGPU][llvm-split] Make declarations test more stable

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 02:17:26 PDT 2024


Author: pvanhout
Date: 2024-08-29T11:17:17+02:00
New Revision: 575be3efb056b298bd4cbf9a04c324893e208488

URL: https://github.com/llvm/llvm-project/commit/575be3efb056b298bd4cbf9a04c324893e208488
DIFF: https://github.com/llvm/llvm-project/commit/575be3efb056b298bd4cbf9a04c324893e208488.diff

LOG: [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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-split/AMDGPU/declarations.ll b/llvm/test/tools/llvm-split/AMDGPU/declarations.ll
index 987a6b8f467cd5..755676061b2557 100644
--- a/llvm/test/tools/llvm-split/AMDGPU/declarations.ll
+++ b/llvm/test/tools/llvm-split/AMDGPU/declarations.ll
@@ -1,3 +1,4 @@
+; RUN: rm -rf %t0 %t1
 ; RUN: llvm-split -o %t %s -j 2 -mtriple amdgcn-amd-amdhsa
 ; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s
 ; RUN: not llvm-dis -o - %t1


        


More information about the llvm-commits mailing list