[PATCH] D39026: [NVPTX] allow address space inference for volatile loads/stores.

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 17:18:12 PDT 2017


jlebar accepted this revision.
jlebar added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfo.h:493
+  /// Return true if the given instruction (assumed to be a memory access
+  /// instruction) has volatile variant. If that's the case then we can avoid
+  /// addrspacecast to generic AS for volatile loads/stores. Default
----------------
a volatile variant


https://reviews.llvm.org/D39026





More information about the llvm-commits mailing list