[PATCH] D130233: [LoopLoadElim] Add stores with matching sizes as load-store candidates

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 02:40:09 PDT 2022


nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

Not all types are bitcastable. Please add tests where the load/store are pointer and integer (in which case you need inttoptr or ptrtoint -- and watch out for non-integral address spaces) and one where an aggregate is involved (cannot be bitcast at all).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130233



More information about the llvm-commits mailing list