llvm-reduce: Add pass to remove register uses
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 22 Apr 2022 15:44:37 +0000 (11:44 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 7 Jun 2022 14:28:23 +0000 (10:28 -0400)
commit47c8ec811f789ae05970f610217a83347388601b
tree0ce3f7a05c40f643b9eb463142001385153fc9ee
parent81edc831fb90c289eb0616bae3658e4feea9a99c
llvm-reduce: Add pass to remove register uses

Try to delete implicit uses, and add undef flags to explicit ones.
12 files changed:
llvm/test/tools/llvm-reduce/mir/generic-vreg.mir
llvm/test/tools/llvm-reduce/mir/instr-reduce.mir
llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-riscv.mir
llvm/test/tools/llvm-reduce/mir/reduce-instruction-flags.mir
llvm/test/tools/llvm-reduce/mir/reduce-register-uses.mir [new file with mode: 0644]
llvm/test/tools/llvm-reduce/mir/subreg-def0.mir
llvm/test/tools/llvm-reduce/mir/subreg-def1.mir
llvm/test/tools/llvm-reduce/mir/undef-virt-reg.mir
llvm/tools/llvm-reduce/CMakeLists.txt
llvm/tools/llvm-reduce/DeltaManager.cpp
llvm/tools/llvm-reduce/deltas/ReduceRegisterUses.cpp [new file with mode: 0644]
llvm/tools/llvm-reduce/deltas/ReduceRegisterUses.h [new file with mode: 0644]