[PATCH] D53889: [CodeGen] Prefer static frame index for STATEPOINT liveness args

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 11:56:53 PST 2018


anna added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1383
+    int FI = FuncInfo.getArgumentFrameIndex(Arg);
+    if (FI != INT_MAX)
+      return DAG.getFrameIndex(FI, TLI.getFrameIndexTy(DAG.getDataLayout()));
----------------
is this just being conservative against a corner case?


Repository:
  rL LLVM

https://reviews.llvm.org/D53889





More information about the llvm-commits mailing list