[PATCH] D91857: [ARM] Remove dead mov's in preheader of tail predicated loops
Sam Tebbs via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 20 06:04:51 PST 2020
samtebbs added inline comments.
================
Comment at: llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp:793
+ // If we converted the LoopStart to a t2DoLoopStartTP, we can also remove any
+ // extra instructions in the preheader, which often includes a now unused MOV.
+ if (Start->getOpcode() == ARM::t2DoLoopStartTP && Preheader &&
----------------
Is it guaranteed that these extra instructions are unused (and so it's ok to remove them without any extra RDA checks)?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91857/new/
https://reviews.llvm.org/D91857
More information about the llvm-commits
mailing list