diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-06-08 22:09:47 -0400 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2022-06-16 20:39:27 -0400 |
commit | eea11e7369ca40c4c261a81e95e5ba5ee13fec20 (patch) | |
tree | f3f028242627306375d933e7bb93c7cceec2be76 /llvm/tools/llvm-reduce/DeltaManager.cpp | |
parent | 6b8bd0f72df8dadc7cb23ccaa4ba3bb257e367a5 (diff) | |
download | llvm-eea11e7369ca40c4c261a81e95e5ba5ee13fec20.zip llvm-eea11e7369ca40c4c261a81e95e5ba5ee13fec20.tar.gz llvm-eea11e7369ca40c4c261a81e95e5ba5ee13fec20.tar.bz2 |
llvm-reduce: Add reduction pass to simplify instructions
Diffstat (limited to 'llvm/tools/llvm-reduce/DeltaManager.cpp')
-rw-r--r-- | llvm/tools/llvm-reduce/DeltaManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-reduce/DeltaManager.cpp b/llvm/tools/llvm-reduce/DeltaManager.cpp index 0d7d1a5..d947de8 100644 --- a/llvm/tools/llvm-reduce/DeltaManager.cpp +++ b/llvm/tools/llvm-reduce/DeltaManager.cpp @@ -38,6 +38,7 @@ #include "deltas/ReduceRegisterUses.h" #include "deltas/ReduceSpecialGlobals.h" #include "deltas/ReduceVirtualRegisters.h" +#include "deltas/SimplifyInstructions.h" #include "llvm/Support/CommandLine.h" using namespace llvm; @@ -62,6 +63,7 @@ static cl::opt<std::string> DELTA_PASS("metadata", reduceMetadataDeltaPass) \ DELTA_PASS("arguments", reduceArgumentsDeltaPass) \ DELTA_PASS("instructions", reduceInstructionsDeltaPass) \ + DELTA_PASS("simplify-instructions", simplifyInstructionsDeltaPass) \ DELTA_PASS("operands-zero", reduceOperandsZeroDeltaPass) \ DELTA_PASS("operands-one", reduceOperandsOneDeltaPass) \ DELTA_PASS("operands-undef", reduceOperandsUndefDeltaPass) \ |