The following changes addresses the following two issues.
- The existing loop rotation pass contains both loop latch simplification and loop rotation. So one flag RotationOnly is added to be passed to the loop rotation pass.
- The threshold value is initialized with MAX_UINT since the loop rotation utility should not have threshold limit.
It would be better to have a separate API for latch simplification, rather than a boolean parameter to LoopRotation.