Fix Issue 11417 - rotate with immediate not recognized by optimizer
Merge pull request #2772 from yebblies/issue11417

Issue 11417 - rotate with immediate not recognized by optimizer