djasper accepted this revision. djasper added a comment. This revision is now accepted and ready to land. Submitted tests and alternative fix in r251284. Seems to me, there can never be a cast right before a ">". http://reviews.llvm.org/D14052