[PATCH] D86673: Conservatively merge &&Variable for catch(Variable)
Xiang Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 23:03:38 PDT 2020
xiangzhangllvm added a comment.
Hello efriedma, first thanks for your suggestion.
I agree with"specific load instruction isn't good approach", I just don't know how to easily identify the catch variable in Machine IR.
So I choose the first Load in landing-pad.
I think there isn't problem of llvm.lifetime.start/end, please see the test in the patch, line 240, 241, 250, 276 all marked with lifetime.start/end.
Without this patch, The catch variable will still be merged even it guard with " lifetime.start/end" and has life-interval with other variable's life range.
Repository:
rZORG LLVM Github Zorg
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86673/new/
https://reviews.llvm.org/D86673
More information about the llvm-commits
mailing list