[llvm] Add out-of-line-atomics support to GlobalISel (PR #74588)

Pavel Iliin via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 10:32:08 PST 2023


================
@@ -765,6 +765,175 @@ llvm::createMemLibcall(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI,
   return LegalizerHelper::Legalized;
 }
 
+static RTLIB::Libcall
+getOutlineAtomicLibcall(unsigned Opc, AtomicOrdering Order, uint64_t MemSize) {
----------------
ilinpv wrote:

Is there a way to re-use the same function from TargetLoweringBase.cpp ?

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


More information about the llvm-commits mailing list