[llvm-dev] Global removal pass - potential for improvement?
Karl Rehm via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 28 09:08:21 PST 2020
I was looking into how the global optimization pass fares against things
like what's reported in https://bugs.llvm.org/show_bug.cgi?id=44676
Looking at this, I think it would be pretty trivial to optimize that down
given that there are already threading assumptions made:
Is this something I can look into? Another thing is that currently *all*
external calls break this optimization, including calls to intrinsics that
probably shouldn't: https://godbolt.org/z/pK7Cew
Maybe add some sort of way (i.e. an attribute) to mark that a call can be
optimized through in this way?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev