summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/Windows/libcalls.ll
Commit message (Collapse)AuthorAgeFilesLines
* ARM: address WOA unsigned division overflow crashMartell Malone2015-11-261-18/+0
| | | | | | | | | Building on r253865 the crash is not limited to signed overflows. Disable custom handling of unsigned 32-bit and 64-bit integer divide. Add test cases for both 32-bit and 64-bit unsigned integer overflow. llvm-svn: 254158
* ARM: address WoA division overflow crashMartell Malone2015-11-231-0/+18
| | | | | | | 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. llvm-svn: 253865
* ARM: address WoA division limitationSaleem Abdulrasool2015-09-251-36/+0
| | | | | | | | | | | | | We now emit the compiler generated divide by zero check that was needed for the MSVC routines. We construct a psuedo-instruction for the DBZ check as the operation requires splitting up the BB. For the 64-bit operations, we need to custom expand the node as we need to insert the DBZ check and then emit the libcall to the appropriate name. Because this is target specific, it seemed better to reproduce the expansion operation from the target-agnostic type legalization rather than sink this there to avoid the duplication. The division library calls now match MSVC semantically. llvm-svn: 248561
* ARM: support windows division routinesSaleem Abdulrasool2015-08-041-0/+111
This adds the software division routines for the Windows RTABI. These are not expected to be used often though as most modern Windows ARM capable targets support hardware division. In the case that the target CPU doesnt support hardware division, this will be the fallback. llvm-svn: 243952
OpenPOWER on IntegriCloud