forked from OSchip/llvm-project
Reenable ARM EHABI on Android.
Broken in r200388. llvm-svn: 200466
This commit is contained in:
parent
d534fc3d0c
commit
02bc78b9cd
|
@ -334,7 +334,8 @@ public:
|
|||
return (TargetTriple.getEnvironment() == Triple::EABI ||
|
||||
TargetTriple.getEnvironment() == Triple::GNUEABI ||
|
||||
TargetTriple.getEnvironment() == Triple::EABIHF ||
|
||||
TargetTriple.getEnvironment() == Triple::GNUEABIHF) &&
|
||||
TargetTriple.getEnvironment() == Triple::GNUEABIHF ||
|
||||
TargetTriple.getEnvironment() == Triple::Android) &&
|
||||
!isTargetDarwin();
|
||||
}
|
||||
|
||||
|
|
|
@ -34,6 +34,22 @@
|
|||
; RUN: -filetype=asm -o - %s \
|
||||
; 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
|
||||
;-------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue