If some of gc live value are not used in gc.relocate we can remove them
from gc-live bundle of statepoint instruction.
Also the CL removes duplicated Values in gc-live bundle.
Paths
| Differential D85959
[InstCombine] Remove unused entries in gc-liv bundle of statepoint ClosedPublic Authored by skatkov on Aug 14 2020, 12:41 AM.
Details Summary If some of gc live value are not used in gc.relocate we can remove them Also the CL removes duplicated Values in gc-live bundle.
Diff Detail Event Timelineskatkov added a parent revision: D85954: [InstCombine] Move handling of gc.relocate in a gc.statepoint. This revision is now accepted and ready to land.Aug 14 2020, 5:37 AM Closed by commit rG9e362bb0eb52: [InstCombine] Remove unused entries in gc-live bundle of statepoint (authored by skatkov). · Explain WhyAug 21 2020, 11:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 285569 llvm/include/llvm/IR/Instructions.h
llvm/lib/IR/Instructions.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/statepoint-iter.ll
|
Change to early exit (break)