[PATCH] D97453: [X86] Allow PTILEZEROV and PTILELOADDV to be rematerializable

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 27 03:05:30 PST 2021


LuoYuanke added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:1010
+  case X86::PTILEZEROV:
+  case X86::PTILELOADDV:
     return true;
----------------
LuoYuanke wrote:
> Sorry. I just noticed the ptileloaddv is also rematerialized. I'm not sure about it, because we need the stride (encoded as index)  information and we need also make sure the memory address is global variable. What do you think?
We may need to make sure the memory is not modified before reload. Constant pool should be ok.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97453



More information about the llvm-commits mailing list