Fix for a rotation transformation bug.
authorEugene Rozenfeld <erozen@microsoft.com>
Mon, 16 Nov 2015 23:47:59 +0000 (15:47 -0800)
committerEugene Rozenfeld <erozen@microsoft.com>
Mon, 16 Nov 2015 23:47:59 +0000 (15:47 -0800)
commit8284a530a90e921598479930c6fc1b9a0625b918
tree1df8d6686a4438f12c6f47b93101a0cda381dccc
parent6a5862d9ff02af846fd25e216ff7948ecb7c49cc
Fix for a rotation transformation bug.

rotatedValueBitSize should be calculated from genActualType(rotatedValue->gtType) instead of rotatedValue->gtType.
I added a test that was failing with an assert because of this bug: rol32ushort.
src/jit/morph.cpp
tests/src/JIT/CodeGenBringUpTests/Rotate.cs