[all-commits] [llvm/llvm-project] 3c626c: [EarlyCSE] Common gc.relocate calls.
dantrushin via All-commits
all-commits at lists.llvm.org
Tue Jun 2 02:27:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3c626c714c9d1521b57ff07b1211f9d21cbeceef
https://github.com/llvm/llvm-project/commit/3c626c714c9d1521b57ff07b1211f9d21cbeceef
Author: Denis Antrushin <dantrushin at gmail.com>
Date: 2020-06-02 (Tue, 02 Jun 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
A llvm/test/Transforms/EarlyCSE/gc_relocate.ll
Log Message:
-----------
[EarlyCSE] Common gc.relocate calls.
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()`.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D80445
More information about the All-commits
mailing list