After we rewrite a candidate, the instructions used by the old form may
become unused. This patch cleans up these unused instructions so that we
needn't run DCE after SLSR.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D9101
[SLSR] garbage-collect unused instructions ClosedPublic Authored by jingyue on Apr 19 2015, 5:02 PM.
Details Summary After we rewrite a candidate, the instructions used by the old form may
Diff Detail
Event Timelinejingyue updated this object. Closed by commit rL235410: [SLSR] garbage-collect unused instructions (authored by jingyue). · Explain WhyApr 21 2015, 12:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 24162 llvm/trunk/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
llvm/trunk/test/Transforms/StraightLineStrengthReduce/X86/no-slsr.ll
llvm/trunk/test/Transforms/StraightLineStrengthReduce/slsr-add.ll
llvm/trunk/test/Transforms/StraightLineStrengthReduce/slsr-gep.ll
llvm/trunk/test/Transforms/StraightLineStrengthReduce/slsr-mul.ll
|