Fix 14455: _opt_relrotarg_valref test failure on amd64. (#15032)
authorSergey Andreenko <seandree@microsoft.com>
Thu, 16 Nov 2017 18:38:46 +0000 (10:38 -0800)
committerGitHub <noreply@github.com>
Thu, 16 Nov 2017 18:38:46 +0000 (10:38 -0800)
commit88527bb6bdec8662a5cef5efcadb22c7fcabae50
tree1a3eccc2e02ec7f72be5ee8658e0c47b1fd7b1c6
parentd3297abfafcf8f89de5816145afc955b0710c051
Fix 14455: _opt_relrotarg_valref test failure on amd64. (#15032)

* fix the issue

Do not zero-initialize temps, that were created by jit and do not have GC refs.
The confusion was that `varDsc->lvIsTemp` means `short live` variable, when we wanted to ask is it IL temp or not.

* add a non-stress repro.
src/jit/morph.cpp
tests/src/JIT/Regression/JitBlue/GitHub_14455/GitHub_14455.il [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_14455/GitHub_14455.ilproj [new file with mode: 0644]