[PATCH] D63401: SROA: Allow touching addrspacecast with volatile

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 04:29:53 PDT 2019


arsenm created this revision.
arsenm added reviewers: theraven, sanjoy, arichardson, chandlerc.
Herald added a subscriber: wdng.

If the alloca is accessed through an addrspacecasted pointer, allow
the normal changes on the alloca. Cast back to the original use
address space instead of the new alloca's natural address space.


https://reviews.llvm.org/D63401

Files:
  lib/Transforms/Scalar/SROA.cpp
  test/Transforms/SROA/addrspacecast.ll
  test/Transforms/SROA/basictest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63401.205019.patch
Type: text/x-patch
Size: 13507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/68d7cbcd/attachment.bin>


More information about the llvm-commits mailing list