[PATCH] D87819: [ARM] Find VPT implicitly predicated by VCTP

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 00:49:22 PDT 2020


samparker added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp:243
+      MachineInstr *VPT = Insts.front();
+      if (VPT->getOpcode() == ARM::MVE_VPST)
+        return false;
----------------
samtebbs wrote:
> Should this also check for the instruction being a VPT?
We only start VPTBlocks on VPST and VPT, so I will add an assert.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87819



More information about the llvm-commits mailing list