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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to