[AArch64] Fix miscompile of comparison with 0xffffffffffffffff
authorOliver Stannard <oliver.stannard@arm.com>
Mon, 3 Nov 2014 15:28:40 +0000 (15:28 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Mon, 3 Nov 2014 15:28:40 +0000 (15:28 +0000)
commite13ea1ddda01750d6030c2e729adb2f79468a287
tree76d2a4a9d22a815d3a2c08976bb352f02b11f37f
parent0fc166221979d5f86e3cd3cd3aa3bb085ac97ca3
[AArch64] Fix miscompile of comparison with 0xffffffffffffffff

Some literals in the AArch64 backend had 15 'f's rather than 16, causing
comparisons with a constant 0xffffffffffffffff to be miscompiled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221157 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/cmp-const-max.ll [new file with mode: 0644]