[all-commits] [llvm/llvm-project] 3c436a: llvm-reduce: Support emitting bitcode for final re...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Oct 31 20:35:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c436ab0d457a83e8efaf74745a7672a09d6f3a3
https://github.com/llvm/llvm-project/commit/3c436ab0d457a83e8efaf74745a7672a09d6f3a3
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
A llvm/test/tools/llvm-reduce/Inputs/test-output-format.ll
A llvm/test/tools/llvm-reduce/Inputs/test-output-format.mir
A llvm/test/tools/llvm-reduce/file-output-type.test
M llvm/tools/llvm-reduce/ReducerWorkItem.cpp
M llvm/tools/llvm-reduce/ReducerWorkItem.h
M llvm/tools/llvm-reduce/TestRunner.cpp
M llvm/tools/llvm-reduce/TestRunner.h
M llvm/tools/llvm-reduce/deltas/Delta.cpp
M llvm/tools/llvm-reduce/llvm-reduce.cpp
Log Message:
-----------
llvm-reduce: Support emitting bitcode for final result
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.
Commit: 4e21bc0c40a79957e6a979c6c9d364906341cdd4
https://github.com/llvm/llvm-project/commit/4e21bc0c40a79957e6a979c6c9d364906341cdd4
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M llvm/test/tools/llvm-reduce/file-output-type.test
M llvm/test/tools/llvm-reduce/temporary-files-as-bitcode-split.ll
M llvm/test/tools/llvm-reduce/temporary-files-as-bitcode.ll
M llvm/tools/llvm-reduce/llvm-reduce.cpp
Log Message:
-----------
llvm-reduce: Drop guessing output format based on file extension
Commit: 412c4a8be55f3bb927170658a7ac5a807355fcd9
https://github.com/llvm/llvm-project/commit/412c4a8be55f3bb927170658a7ac5a807355fcd9
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M llvm/tools/llvm-reduce/TestRunner.cpp
M llvm/tools/llvm-reduce/TestRunner.h
M llvm/tools/llvm-reduce/deltas/Delta.cpp
M llvm/tools/llvm-reduce/llvm-reduce.cpp
Log Message:
-----------
llvm-reduce: Write bitcode temporary files for bitcode inputs
Most tools accept .ll or .bc inputs interchangably, but some don't.
Default to writing temporary files that match the input. This
will also aid reducing deserialization bugs.
Compare: https://github.com/llvm/llvm-project/compare/37acf9bdd468...412c4a8be55f
More information about the All-commits
mailing list