[llvm] [RFC] Memory Model Relaxation Annotations (PR #78569)

Sameer Sahasrabuddhe via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 01:33:58 PST 2024


================
@@ -383,9 +386,15 @@ class MachineIRBuilder {
   /// Set the PC sections metadata to \p MD for all the next build instructions.
   void setPCSections(MDNode *MD) { State.PCSections = MD; }
 
+  /// Set the PC sections metadata to \p MD for all the next build instructions.
+  void setMMRAMetadata(MDNode *MMRA) { State.MMRA = MMRA; }
----------------
ssahasra wrote:

I would expect get/set methods to be arranged together for each property. For example, the ones for DebugLoc just above.

https://github.com/llvm/llvm-project/pull/78569


More information about the llvm-commits mailing list