From d8fb46ee5555e73ab7a835b0098d0d7ee371c18b Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 21 Dec 2022 10:46:23 -0500 Subject: [PATCH] llvm-reduce: Remove test dependence on registered targets This reverts e4b126cc2d33033a5538d72a88f6aa153ac8b757 and e57ab8fe91f06e71d3de2df07e6c7efd2f0c6078. This previously depended on where the target happened to construct (or not) the MachineFunctionInfo during the initial MIR construction. Now that the MachineFunctionInfo is consistently constructed at MachineFunction construction time, this should always work. --- llvm/test/tools/llvm-reduce/file-output-type.test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/test/tools/llvm-reduce/file-output-type.test b/llvm/test/tools/llvm-reduce/file-output-type.test index bbfbeb2..4d7b35d 100644 --- a/llvm/test/tools/llvm-reduce/file-output-type.test +++ b/llvm/test/tools/llvm-reduce/file-output-type.test @@ -1,4 +1,3 @@ -# REQUIRES: x86-registered-target # RUN: rm -f reduced.ll reduced.bc # RUN: llvm-as -o test-output-format.bc %p/Inputs/test-output-format.ll @@ -41,7 +40,7 @@ # Make sure MIR ignores requests for bitcode -# 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: 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: llc -x mir -run-pass=none -o /dev/null %t.3 -- 2.7.4