summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/Windows/no-aeabi.ll
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-04-02 20:32:05 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-04-02 20:32:05 +0000
commitcd1308296ed7834e957b093e538476b43e8cf949 (patch)
tree4dc73654a02978adbed2428b740ac9654b1cfc18 /llvm/test/CodeGen/ARM/Windows/no-aeabi.ll
parent2a2459f365d953a1493ba95e9b43c5bc3e95d829 (diff)
downloadbcm5719-llvm-cd1308296ed7834e957b093e538476b43e8cf949.tar.gz
bcm5719-llvm-cd1308296ed7834e957b093e538476b43e8cf949.zip
ARM: update subtarget information for Windows on ARM
Update the subtarget information for Windows on ARM. This enables using the MC layer to target Windows on ARM. llvm-svn: 205459
Diffstat (limited to 'llvm/test/CodeGen/ARM/Windows/no-aeabi.ll')
-rw-r--r--llvm/test/CodeGen/ARM/Windows/no-aeabi.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/Windows/no-aeabi.ll b/llvm/test/CodeGen/ARM/Windows/no-aeabi.ll
new file mode 100644
index 00000000000..4c6676f2df0
--- /dev/null
+++ b/llvm/test/CodeGen/ARM/Windows/no-aeabi.ll
@@ -0,0 +1,10 @@
+; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -o - %s | FileCheck %s
+
+define i32 @divide(i32 %i, i32 %j) nounwind {
+entry:
+ %quotient = sdiv i32 %i, %j
+ ret i32 %quotient
+}
+
+; CHECK-NOT: __aeabi_idiv
+
OpenPOWER on IntegriCloud