[PATCH] D141048: [SelectionDAG] Add missing setValue calls in visitIntrinsicCall
Marco Elver via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 11:11:41 PST 2023
melver added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/SelectionDAG/arm64-pcsections-selectiondag.ll:87-100
+ ; CHECK-LABEL: name: call_memcpy_element_unordered_atomic_intrinsic
+ ; CHECK: bb.0 (%ir-block.0):
+ ; CHECK-NEXT: liveins: $lr
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: early-clobber $sp = frame-setup STRXpre killed $lr, $sp, -16 :: (store (s64) into %stack.2)
+ ; CHECK-NEXT: frame-setup CFI_INSTRUCTION def_cfa_offset 16
+ ; CHECK-NEXT: frame-setup CFI_INSTRUCTION offset $w30, -16
----------------
martin-fink wrote:
> melver wrote:
> > I see no pcsections, is it still missing?
> I think I've overlooked that `pcsections` are not passed to MIR for the `.element.unordered.atomic` instrinsics on AArch64.
> As the issue for that probably lies somewhere else and not in the scope of this commit (the pcsections are passed to MIR on X86, for example), I would suggest that I (for now) remove these three functions from the test in this commit and have a look at them later on.
> What do you think about that?
I think it's somewhere in the AArch64-specific bits of SelectionDAG.
I think if you want this working properly, it should be fixed.
Otherwise, the support for the mem-transfer functions seems incomplete and whatever you intend to use !pcsections for, will be half working only.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141048/new/
https://reviews.llvm.org/D141048
More information about the llvm-commits
mailing list