[PATCH] D24399: [RS4GC] Avoid usage of unrelocated values while rematerializing geps and casts
Anna Thomas via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 07:22:15 PDT 2016
anna updated this revision to Diff 72041.
anna added a comment.
The semantic change required to remat in presence of phi.
Only replace use in the remat chain, rather than replacing all uses with the live value.
This is rebased over the refactoring NFC change: https://reviews.llvm.org/D24780
Verified IR generated in tests with safepoint-verifier, and running some local tests.
https://reviews.llvm.org/D24399
Files:
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
test/Transforms/RewriteStatepointsForGC/rematerialize-derived-pointers.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24399.72041.patch
Type: text/x-patch
Size: 5937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160921/420f1d15/attachment.bin>
More information about the llvm-commits
mailing list