[PATCH] D94703: [Statepoint] Handle `undef` operands in statepoint.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 26 11:21:18 PDT 2022


arsenm added inline comments.
Herald added a project: All.


================
Comment at: llvm/lib/CodeGen/StackMaps.cpp:239
+      // Record `undef` register as constant. Use same value as ISel uses.
+      Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, 0xFEFEFEFE);
+      return ++MOI;
----------------
What is the intended representation of undef here? This will be replaced later (down at line 485) with ConstantIndex. Why can't this stay as Register?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94703/new/

https://reviews.llvm.org/D94703



More information about the llvm-commits mailing list