[PATCH] D131571: [AArch64][SME] Fix lowering of llvm.aarch64.get.pstatesm()
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 16:21:57 PDT 2022
aemerson accepted this revision.
aemerson added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:4541
+ SDValue Chain = Op->getOperand(0);
+ SMEAttrs Attrs = SMEAttrs(DAG.getMachineFunction().getFunction());
+ SDValue PStateSM = getPStateSM(DAG, Chain, Attrs, DL, Op.getValueType());
----------------
Nit: this could be just `SMEAttrs Attrs(DAG.getMachineFunction().getFunction());`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131571/new/
https://reviews.llvm.org/D131571
More information about the llvm-commits
mailing list