For immediate encodings of icmp, zero or sign extend first. Then
authorChad Rosier <mcrosier@apple.com>
Thu, 10 Nov 2011 01:30:39 +0000 (01:30 +0000)
committerChad Rosier <mcrosier@apple.com>
Thu, 10 Nov 2011 01:30:39 +0000 (01:30 +0000)
commit6cba97c5557ac51d8ae09b9f5cbad6891124db4d
treec5807d2a9b1da82cfd2004ec037bbe167fd7e181
parent83337302595a6b85523be8522c2b6105c8e159d1
For immediate encodings of icmp, zero or sign extend first.  Then
determine if the value is negative and flip the sign accordingly.
rdar://10422026

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144258 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
test/CodeGen/ARM/fast-isel-cmp-imm.ll