mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
05574570dd
Allow all ExternalSymbolSDNode on AIX, and rely on the linker error to find symbols which we don't have definitions from any library/compiler-rt. Differential Revision: https://reviews.llvm.org/D75075
19 lines
565 B
LLVM
19 lines
565 B
LLVM
; RUN: llc -mcpu=pwr4 -mattr=-altivec -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff \
|
|
; RUN: -stop-after=machine-cp < %s | FileCheck \
|
|
; RUN: --check-prefix=32BIT %s
|
|
|
|
; RUN: llc -mcpu=pwr4 -mattr=-altivec -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff \
|
|
; RUN: -stop-after=machine-cp < %s | FileCheck \
|
|
; RUN: --check-prefix=64BIT %s
|
|
|
|
define double @call_ceil(double %n) {
|
|
entry:
|
|
%0 = call double @llvm.ceil.f64(double %n)
|
|
ret double %0
|
|
}
|
|
|
|
declare double @llvm.ceil.f64(double)
|
|
|
|
; 32BIT: BL_NOP <mcsymbol .ceil>
|
|
; 64BIT: BL8_NOP <mcsymbol .ceil>
|