[PATCH] D39138: [CodeGen] Generate TBAA info for 'this' pointers
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 25 11:28:33 PDT 2017
rjmccall added a comment.
In https://reviews.llvm.org/D39138#906623, @kosarev wrote:
> Hmm, according to our research such loads constitute about 18% of all loads under ##-O -Xclang -disable-llvm-passes## on the LLVM code base. I wonder, do you think it would be nice to not generate them at all? I mean, provided that necessary changes do not add too much special-case code.
It would be straightforward to not generate them, but it would create longer live ranges at -O0 and allow 'this' to disappear in debug info, both of which are undesirable.
Repository:
rL LLVM
https://reviews.llvm.org/D39138
More information about the cfe-commits
mailing list