TileMonitoring: Fix undefined behavior.
Protect against shifting by a negative count. Also in one spot tell clang to optimize assuming that FP may trap. Fixes test failures in the dbg and clang builds.
Protect against shifting by a negative count. Also in one spot tell clang to optimize assuming that FP may trap. Fixes test failures in the dbg and clang builds.