[PATCH] D45395: [RISCV] Implement tail call optimization

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 16 00:01:29 PDT 2018


HsiangKai requested changes to this revision.
HsiangKai added a comment.
This revision now requires changes to proceed.

I think it should be a typo.



================
Comment at: lib/Target/RISCV/RISCVISelLowering.cpp:1072
+        SDValue FIN = DAG.getFrameIndex(FI, getPointerTy(DAG.getDataLayout()));
+        return DAG.getStore(Chain, DL, ArgValue, FIN, MachinePointerInfo(),
+                          /* Alignment = */ 0, MachineMemOperand::MOVolatile);
----------------
Should it be MemOpChains.push_back(DAG.getStore(... ?


Repository:
  rL LLVM

https://reviews.llvm.org/D45395





More information about the llvm-commits mailing list