Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
353a19e13c2c580518b1ca8a070e6538e7353db7
/
llvm
/
test
/
Transforms
/
RewriteStatepointsForGC
/
rematerialize-derived-pointers.ll
e031718
[RewriteStatepointsForGC] For some values (like gep's and bitcasts) it's cheaper to clone them after statepoint than to emit proper relocates for them. This change implements this logic. There is alredy similar optimization in CodeGenPrepare, but doing so during RewriteStatepointsForGC allows to capture more opprtunities such as relocates in loops and longer instruction chains.
by Igor Laevsky
ยท 10 years ago