[PATCH] D131571: [AArch64][SME] Fix lowering of llvm.aarch64.get.pstatesm()
    Sander de Smalen via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep 15 08:16:12 PDT 2022
    
    
  
sdesmalen added a comment.
Thanks @aemerson!
================
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());
----------------
aemerson wrote:
> Nit: this could be just `SMEAttrs Attrs(DAG.getMachineFunction().getFunction());`?
Good spot, I thought I fixed all of those up already.
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