mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
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>
|