You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
557 B
19 lines
557 B
; 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 &".ceil[PR]"
|
|
; 64BIT: BL8_NOP &".ceil[PR]"
|