[PATCH] D72714: [ARM][MVE] WIP: Tail-Predication: rematerialise iteration count in exit blocks

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 00:36:38 PST 2020


samparker added inline comments.


================
Comment at: llvm/lib/Target/ARM/MVETailPredication.cpp:426
         PredClone->insertBefore(&I);
         I.replaceAllUsesWith(PredClone);
         MaybeDead.insert(&I);
----------------
And we should be able to just insert a phi here, with the vctp operand as the operand to the phi and the vctp then using the phi.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72714/new/

https://reviews.llvm.org/D72714





More information about the llvm-commits mailing list