[PATCH] D80445: [EarlyCSE] Common gc.relocate calls.
Denis Antrushin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 09:38:30 PDT 2020
dantrushin created this revision.
dantrushin added reviewers: reames, skatkov.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
gc.relocate intrinsic is special in that its second and third operands
are not real values, but indices into relocate's parent statepoint list
of GC pointers.
To be CSE'd, they need special handling in `isEqual()` and `getHashCode()`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80445
Files:
llvm/lib/Transforms/Scalar/EarlyCSE.cpp
llvm/test/Transforms/EarlyCSE/gc_relocate.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80445.265754.patch
Type: text/x-patch
Size: 8477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200522/c3628c79/attachment.bin>
More information about the llvm-commits
mailing list