[PATCH] D37654: PPC: Don't select lxv/stxv for insufficiently aligned stack slots.

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 23:46:26 PDT 2017


nemanjai added a comment.

I imagine this patch was prompted by a bug. Just out of curiosity, did the assert:

  assert(MO.isImm() && !(MO.getImm() % 16) &&
         "Expecting an immediate that is a multiple of 16");

fire for the case where the frame op was lowered to an lxv/stxv with an offset that isn't a multiple of 16? If not, perhaps we need another assert somewhere else?


Repository:
  rL LLVM

https://reviews.llvm.org/D37654





More information about the llvm-commits mailing list