Branch instructions don't produce values, so there's no need to generate a value...
authorOwen Anderson <resistor@mac.com>
Tue, 4 Jan 2011 18:54:18 +0000 (18:54 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 4 Jan 2011 18:54:18 +0000 (18:54 +0000)
commitc2146a6abc6366ed6171c555d771bc6cb657f31a
treefe7ed2cd0b08304bb3233c19a95f8db909755a0f
parent2802c7536f1f52a4028f8ba7c5406c2120f899b5
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122819 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp