[llvm] e57ab8f - llvm-reduce: Add explicit triple to test

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 2 08:31:54 PDT 2022


Author: Matt Arsenault
Date: 2022-11-02T08:31:38-07:00
New Revision: e57ab8fe91f06e71d3de2df07e6c7efd2f0c6078

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

LOG: llvm-reduce: Add explicit triple to test

Some host targets are managing to get through MIR parsing
without constructing their MachineFunctionInfo.

Fixes at least SystemZ and SPARC (issue 58768)

Added: 
    

Modified: 
    llvm/test/tools/llvm-reduce/file-output-type.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-reduce/file-output-type.test b/llvm/test/tools/llvm-reduce/file-output-type.test
index 5535866e7251d..9a00d8a00b76d 100644
--- a/llvm/test/tools/llvm-reduce/file-output-type.test
+++ b/llvm/test/tools/llvm-reduce/file-output-type.test
@@ -40,7 +40,7 @@
 
 
 # Make sure MIR ignores requests for bitcode
-# RUN: llvm-reduce -output-bitcode --delta-passes=instructions -o %t.3  --test FileCheck --test-arg --check-prefix=MIR --test-arg %s --test-arg --input-file %p/Inputs/test-output-format.mir
+# RUN: llvm-reduce -mtriple=x86_64-- -output-bitcode --delta-passes=instructions -o %t.3  --test FileCheck --test-arg --check-prefix=MIR --test-arg %s --test-arg --input-file %p/Inputs/test-output-format.mir
 # RUN: llc -x mir -run-pass=none -o /dev/null %t.3
 
 


        


More information about the llvm-commits mailing list