summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DebugInfoMetadata.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-09-25 05:15:46 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-09-25 05:15:46 +0000
commitfe83b5028908988f6ea7aa8b23e594ec1bff1c22 (patch)
tree04dfaa18456bb0b08e7afc9e7b19425b12e51d95 /llvm/lib/IR/DebugInfoMetadata.cpp
parentb558b79c887ea5eee5d8dcdfb30a0894b0d6d323 (diff)
downloadbcm5719-llvm-fe83b5028908988f6ea7aa8b23e594ec1bff1c22.tar.gz
bcm5719-llvm-fe83b5028908988f6ea7aa8b23e594ec1bff1c22.zip
ARM: address WoA division limitation
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
Diffstat (limited to 'llvm/lib/IR/DebugInfoMetadata.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud