[llvm] 16df714 - [test] Update stack_guard_remat.ll (#79139)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 05:48:38 PST 2024


Author: Danial Klimkin
Date: 2024-01-23T14:48:33+01:00
New Revision: 16df714e77e8d31619445e5f6d87d89da962eec4

URL: https://github.com/llvm/llvm-project/commit/16df714e77e8d31619445e5f6d87d89da962eec4
DIFF: https://github.com/llvm/llvm-project/commit/16df714e77e8d31619445e5f6d87d89da962eec4.diff

LOG: [test] Update stack_guard_remat.ll (#79139)

Replace cp with a cat. This allows to create a writable file when the
original one is read-only.

Added: 
    

Modified: 
    llvm/test/CodeGen/Thumb/stack_guard_remat.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/Thumb/stack_guard_remat.ll b/llvm/test/CodeGen/Thumb/stack_guard_remat.ll
index b9c993332a698b3..cc142392981d654 100644
--- a/llvm/test/CodeGen/Thumb/stack_guard_remat.ll
+++ b/llvm/test/CodeGen/Thumb/stack_guard_remat.ll
@@ -1,4 +1,4 @@
-; RUN: cp %s %t.pic.ll
+; RUN: cat %s > %t.pic.ll
 ; RUN: echo -e '!llvm.module.flags = !{!0}\n!0 = !{i32 7, !"PIC Level", i32 2}' >> %t.pic.ll
 ; RUN: llc < %t.pic.ll -mtriple=thumb-apple-darwin -relocation-model=pic -no-integrated-as | FileCheck %s -check-prefix=PIC
 ; RUN: llc < %s -mtriple=thumb-apple-darwin -relocation-model=static -no-integrated-as | FileCheck %s -check-prefix=NO-PIC  -check-prefix=STATIC


        


More information about the llvm-commits mailing list