[PATCH] D118458: [AMDGPU] Add test for a problem with noclobber metadata

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 03:05:11 PST 2022


foad added a comment.

In D118458#3280607 <https://reviews.llvm.org/D118458#3280607>, @rampitec wrote:

> Ugh... These are different arguments which may alias. I guess you could do the same with a single gep being reused for loads and stores...

Right, but if a store is followed by a load from the exact same address, I thought some other pass might optimise the load away by replacing it with the value that was stored.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118458



More information about the llvm-commits mailing list