Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit f7eb2f0

Browse files
committed
Revert "ARM: switch armv7em triple to hard-float defaults and libcalls."
This reverts commit r337385 until it can be targeted at MachO only. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337424 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d5bb6fb commit f7eb2f0

File tree

3 files changed

+1
-38
lines changed

3 files changed

+1
-38
lines changed

lib/Target/ARM/ARMTargetMachine.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ class ARMBaseTargetMachine : public LLVMTargetMachine {
6666
return TargetTriple.getEnvironment() == Triple::GNUEABIHF ||
6767
TargetTriple.getEnvironment() == Triple::MuslEABIHF ||
6868
TargetTriple.getEnvironment() == Triple::EABIHF ||
69-
TargetTriple.getSubArch() == Triple::ARMSubArch_v7em ||
7069
TargetTriple.isOSWindows() ||
7170
TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS16;
7271
}

test/CodeGen/ARM/darwin-eabi.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ define double @double_op(double %lhs, double %rhs) {
2020
; CHECK-M3: bl ___adddf3
2121

2222
; CHECK-M4-LABEL: double_op:
23-
; CHECK-M4: {{(bl|blx|b.w)}} ___adddf3
23+
; CHECK-M4: {{(blx|b.w)}} ___adddf3
2424
}

test/CodeGen/ARM/macho-embedded-float.ll

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)