[llvm] [IR][NFC] Add LoadStoreInstAttributes to copy load/store attrs (PR #206470)
Harrison Hao via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 29 06:08:46 PDT 2026
================
@@ -249,6 +257,19 @@ class LoadInst : public UnaryInstruction {
setSyncScopeID(SSID);
}
+ /// Returns the attributes of this load instruction.
+ LoadStoreInstAttributes getAttributes() const {
----------------
harrisonGPU wrote:
Done.
https://github.com/llvm/llvm-project/pull/206470
More information about the llvm-commits
mailing list