[llvm-commits] [llvm] r122819 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp
clattner at apple.com
Tue Jan 4 15:29:14 CST 2011
On Jan 4, 2011, at 10:54 AM, Owen Anderson wrote:
> Author: resistor
> Date: Tue Jan 4 12:54:18 2011
> New Revision: 122819
> URL: http://llvm.org/viewvc/llvm-project?rev=122819&view=rev
> Branch instructions don't produce values, so there's no need to generate a value number for them. This
> avoids adding them to the various value numbering tables, resulting in a minor (~3%) speedup for GVN
> on 40.gcc.
Is there a way to handle "everything that returns void" in one place? Stores are pretty common as well.
More information about the llvm-commits