diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2024-04-24 08:52:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-24 08:52:25 +0200 |
commit | cf328ff96daf5e676fb51ac86e550af7fd689fec (patch) | |
tree | 5ddf3b93433e9fe04a349663d1f1f50d0721f28b /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 805d5637a0d50caa073f435b55940c1338aae0fc (diff) | |
download | llvm-cf328ff96daf5e676fb51ac86e550af7fd689fec.zip llvm-cf328ff96daf5e676fb51ac86e550af7fd689fec.tar.gz llvm-cf328ff96daf5e676fb51ac86e550af7fd689fec.tar.bz2 |
[IR] Memory Model Relaxation Annotations (#78569)
Implements the core/target-agnostic components of Memory Model
Relaxation Annotations.
RFC:
https://discourse.llvm.org/t/rfc-mmras-memory-model-relaxation-annotations/76361/5
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index ad53214..8366ad2 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -573,10 +573,10 @@ MachineFunction::getMachineMemOperand(const MachineMemOperand *MMO, MachineInstr::ExtraInfo *MachineFunction::createMIExtraInfo( ArrayRef<MachineMemOperand *> MMOs, MCSymbol *PreInstrSymbol, MCSymbol *PostInstrSymbol, MDNode *HeapAllocMarker, MDNode *PCSections, - uint32_t CFIType) { + uint32_t CFIType, MDNode *MMRAs) { return MachineInstr::ExtraInfo::create(Allocator, MMOs, PreInstrSymbol, PostInstrSymbol, HeapAllocMarker, - PCSections, CFIType); + PCSections, CFIType, MMRAs); } const char *MachineFunction::createExternalSymbolName(StringRef Name) { |