mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Reenable ARM EHABI on Android.
Broken in r200388. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200466 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -334,7 +334,8 @@ public:
|
|||||||
return (TargetTriple.getEnvironment() == Triple::EABI ||
|
return (TargetTriple.getEnvironment() == Triple::EABI ||
|
||||||
TargetTriple.getEnvironment() == Triple::GNUEABI ||
|
TargetTriple.getEnvironment() == Triple::GNUEABI ||
|
||||||
TargetTriple.getEnvironment() == Triple::EABIHF ||
|
TargetTriple.getEnvironment() == Triple::EABIHF ||
|
||||||
TargetTriple.getEnvironment() == Triple::GNUEABIHF) &&
|
TargetTriple.getEnvironment() == Triple::GNUEABIHF ||
|
||||||
|
TargetTriple.getEnvironment() == Triple::Android) &&
|
||||||
!isTargetDarwin();
|
!isTargetDarwin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -34,6 +34,22 @@
|
|||||||
; RUN: -filetype=asm -o - %s \
|
; RUN: -filetype=asm -o - %s \
|
||||||
; RUN: | FileCheck %s --check-prefix=CHECK-V7-FP-ELIM
|
; RUN: | FileCheck %s --check-prefix=CHECK-V7-FP-ELIM
|
||||||
|
|
||||||
|
; RUN: llc -mtriple arm-unknown-linux-androideabi \
|
||||||
|
; RUN: -disable-fp-elim -filetype=asm -o - %s \
|
||||||
|
; RUN: | FileCheck %s --check-prefix=CHECK-FP
|
||||||
|
|
||||||
|
; RUN: llc -mtriple arm-unknown-linux-androideabi \
|
||||||
|
; RUN: -filetype=asm -o - %s \
|
||||||
|
; RUN: | FileCheck %s --check-prefix=CHECK-FP-ELIM
|
||||||
|
|
||||||
|
; RUN: llc -mtriple armv7-unknown-linux-androideabi \
|
||||||
|
; RUN: -disable-fp-elim -filetype=asm -o - %s \
|
||||||
|
; RUN: | FileCheck %s --check-prefix=CHECK-V7-FP
|
||||||
|
|
||||||
|
; RUN: llc -mtriple armv7-unknown-linux-androideabi \
|
||||||
|
; RUN: -filetype=asm -o - %s \
|
||||||
|
; RUN: | FileCheck %s --check-prefix=CHECK-V7-FP-ELIM
|
||||||
|
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
; Test 1
|
; Test 1
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user