Cast MO.getImm() to unsigned before comparing with an unsigned limit.
commit52f6f63fbd1339c08b982355b62b85dc344add50
authorEvan Cheng <evan.cheng@apple.com>
Wed, 9 Sep 2009 06:05:16 +0000 (9 06:05 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 9 Sep 2009 06:05:16 +0000 (9 06:05 +0000)
tree9767908e74d84007815ab04c4daa179182a05cdd
parent509ea0c591607793cc3fdf076b80c5743b72ef17
Cast MO.getImm() to unsigned before comparing with an unsigned limit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81318 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb2SizeReduction.cpp
test/CodeGen/Thumb2/thumb2-cmp.ll