Refactor GT_IND value-numbering
authorJoseph Tremoulet <jotrem@microsoft.com>
Wed, 18 Jan 2017 14:59:53 +0000 (06:59 -0800)
committerJoseph Tremoulet <jotrem@microsoft.com>
Wed, 18 Jan 2017 15:05:25 +0000 (07:05 -0800)
commitf178e60b6c7d41698eeb4f04962307803f78137b
tree67e412ed349c329681bcece7a4c3ae0c607be226
parent009697370b7dd9a155601842360633d2fd2ba286
Refactor GT_IND value-numbering

Method `fgValueNumberTree` had two pieces of code each attempting to
assume responsibility for `GT_IND` and some block ops.  The one later in
the function wasn't reachable because those ops would always take the
first path.  This change moves the special logic for `GTF_IND_ARR_LEN`,
which was only present in the unreachable code, up to the reachable code,
and removes the unreachable code.
src/jit/valuenum.cpp