[PATCH] D112466: [NVPTX] Annotate LDG/LDU instructions as mayLoad

Andrew Savonichev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 09:57:20 PDT 2021


asavonic added a comment.

It appears that `mayLoad` was omitted for a reason, but I cannot figure out why. If a load is done from a read-only memory, it should still be treated as a load, right? Is there anything that requires special handling for these instructions?

Git blame shows that these comments were introduced by @jlebar in https://reviews.llvm.org/D17471, but there are no details either, so maybe I'm missing something.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112466



More information about the llvm-commits mailing list