Pull call arg value numbers from late args
authorJoseph Tremoulet <jotrem@microsoft.com>
Tue, 31 Jan 2017 22:52:42 +0000 (17:52 -0500)
committerJoseph Tremoulet <jotrem@microsoft.com>
Sat, 4 Feb 2017 01:49:07 +0000 (20:49 -0500)
commit061b3f24985a8ea67fb5765025b8698a9880bbdf
treefe7f01dc34d01e9a084299d0dc2803396ae8ed04
parentac68cb956842dfedd39e76808037f63e28ee7a52
Pull call arg value numbers from late args

Since the main arg list includes the setup args that may be struct copies
using the VNForVoid value number that compares equal across occurrences,
check for these when computing argument value numbers and instead get the
value number from the corresponding late arg, which has the actual value
being passed.
src/jit/valuenum.cpp