[PATCH] D136791: llvm-reduce: Support emitting bitcode for final result
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 14:20:13 PDT 2022
arsenm created this revision.
arsenm added reviewers: aeubanks, regehr, lebedev.ri, fhahn.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
Previously, this unconditionally emitted text IR. I ran
into a bug that manifested in broken disassembly, so the
desired output was the bitcode format. If the input format
was binary bitcode, the requested output file ends in .bc,
or an explicit -output-bitcode option was used, emit bitcode.
https://reviews.llvm.org/D136791
Files:
llvm/test/tools/llvm-reduce/Inputs/test-output-format.bc
llvm/test/tools/llvm-reduce/Inputs/test-output-format.ll
llvm/test/tools/llvm-reduce/Inputs/test-output-format.mir
llvm/test/tools/llvm-reduce/file-output-type.test
llvm/tools/llvm-reduce/ReducerWorkItem.cpp
llvm/tools/llvm-reduce/ReducerWorkItem.h
llvm/tools/llvm-reduce/TestRunner.cpp
llvm/tools/llvm-reduce/TestRunner.h
llvm/tools/llvm-reduce/deltas/Delta.cpp
llvm/tools/llvm-reduce/llvm-reduce.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136791.470933.patch
Type: text/x-patch
Size: 14577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221026/e290649b/attachment.bin>
More information about the llvm-commits
mailing list