ARM: address WoA division overflow crash
authorMartell Malone <martellmalone@gmail.com>
Mon, 23 Nov 2015 13:11:39 +0000 (13:11 +0000)
committerMartell Malone <martellmalone@gmail.com>
Mon, 23 Nov 2015 13:11:39 +0000 (13:11 +0000)
commitee541879845e28d67c68bc66ce49ad7ce0d1f06a
tree74847f4425c6f9f0bb39372e5e0b742ef833e077
parent4c919397034622fbf86135a184de636faa5d9183
ARM: address WoA division overflow crash

Disable custom handling of signed 32-bit and 64-bit integer divide.
Add test cases for both 32-bit and 64-bit integer overflow crashes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253865 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
test/CodeGen/ARM/Windows/division.ll
test/CodeGen/ARM/Windows/libcalls.ll
test/CodeGen/ARM/Windows/overflow.ll [new file with mode: 0644]