JIT: handle GT_SUB in gtClone (#16128)
authorAndy Ayers <andya@microsoft.com>
Wed, 31 Jan 2018 22:08:05 +0000 (14:08 -0800)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2018 22:08:05 +0000 (14:08 -0800)
commit96d7169a4f82211f869718e978302bbf7a6b99fc
treeca1229d32894aa26c6f67a3abac5cdb54b1fda42
parent2a8d7d97508c7be6a1f93dc01c9282026cd25fa5
JIT: handle GT_SUB in gtClone (#16128)

For uniformity's sake, handle GT_SUB just like GT_ADD in gtClone.
Otherwise for a span s, the jit codegen for s[i+1] and s[i-1] can
end up substantially different.

See notes in #13097.
src/jit/gentree.cpp