[PATCH] D80714: [StatepointLowering] Handle UNDEF gc values.

Denis Antrushin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 07:28:18 PDT 2020


dantrushin updated this revision to Diff 267608.
dantrushin added a comment.

Updated patch to handle UNDEF unconditionally.

By the way, I was following this comment in InstCombineCalls.cpp:

  // Undef is undef, even after relocation.
  // TODO: provide a hook for this in GCStrategy.  This is clearly legal for
  // most practical collectors, but there was discussion in the review thread
  // about whether it was legal for all possible collectors.

Is it not relevant anymore?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80714

Files:
  llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  llvm/test/CodeGen/X86/statepoint-uniqueing.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80714.267608.patch
Type: text/x-patch
Size: 4839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200601/e290f447/attachment.bin>


More information about the llvm-commits mailing list