[llvm] 520f641 - [test] Avoid dumping .o in source tree (expand-pseudos.ll)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 16:57:17 PST 2021


Author: Mircea Trofin
Date: 2021-11-30T16:56:53-08:00
New Revision: 520f641877cd58d9cc911de36284b458a7be13fb

URL: https://github.com/llvm/llvm-project/commit/520f641877cd58d9cc911de36284b458a7be13fb
DIFF: https://github.com/llvm/llvm-project/commit/520f641877cd58d9cc911de36284b458a7be13fb.diff

LOG: [test] Avoid dumping .o in source tree (expand-pseudos.ll)

Piping the input to llc avoids that (i.e. llc .... < %s vs llc ... %s)

Added: 
    

Modified: 
    llvm/test/CodeGen/ARM/expand-pseudos.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/ARM/expand-pseudos.ll b/llvm/test/CodeGen/ARM/expand-pseudos.ll
index d8a7e8b76c64a..78c3fe0efbfb7 100644
--- a/llvm/test/CodeGen/ARM/expand-pseudos.ll
+++ b/llvm/test/CodeGen/ARM/expand-pseudos.ll
@@ -1,5 +1,5 @@
-; RUN: llc -filetype=obj -relocation-model=pic %s --verify-machineinstrs -print-after=postrapseudos 2>&1 | FileCheck -check-prefix=CHECK-POST-RA %s
-; RUN: llc -filetype=obj -relocation-model=pic %s --verify-machineinstrs -print-after=arm-pseudo 2>&1 | FileCheck -check-prefix=CHECK-POST-AP %s
+; RUN: llc -filetype=obj -relocation-model=pic --verify-machineinstrs -print-after=postrapseudos < %s 2>&1 | FileCheck -check-prefix=CHECK-POST-RA %s
+; RUN: llc -filetype=obj -relocation-model=pic --verify-machineinstrs -print-after=arm-pseudo < %s 2>&1 | FileCheck -check-prefix=CHECK-POST-AP %s
 
 ; CHECK-POST-RA: $r12 = t2LDRLIT_ga_pcrel target-flags(arm-got) @__stack_chk_guard
 ; CHECK-POST-AP: $r12 = t2LDRpci %const.0, 14, $noreg


        


More information about the llvm-commits mailing list