[llvm] [IR][NFC] Add LoadStoreProperties to copy load/store attrs (PR #206470)

Harrison Hao via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 01:56:33 PDT 2026


================
@@ -172,6 +172,14 @@ class AllocaInst : public UnaryInstruction {
   }
 };
 
+/// A structure representing the attributes of a load or store instruction.
+struct LoadStoreInstAttributes {
----------------
harrisonGPU wrote:

But if I moved it to LoadInst Class, the LoadStoreInstProperties also used in StoreInst Class.

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


More information about the llvm-commits mailing list