| 1 |
; RUN: llc -mcpu=pwr4 -mattr=-altivec -verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff \ |
| 2 |
; RUN: -stop-after=machine-cp < %s | FileCheck \ |
| 3 |
; RUN: --check-prefix=32BIT %s |
| 4 |
|
| 5 |
; RUN: llc -mcpu=pwr4 -mattr=-altivec -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff \ |
| 6 |
; RUN: -stop-after=machine-cp < %s | FileCheck \ |
| 7 |
; RUN: --check-prefix=64BIT %s |
| 8 |
|
| 9 |
define double @call_ceil(double %n) { |
| 10 |
entry: |
| 11 |
%0 = call double @llvm.ceil.f64(double %n) |
| 12 |
ret double %0 |
| 13 |
} |
| 14 |
|
| 15 |
declare double @llvm.ceil.f64(double) |
| 16 |
|
| 17 |
; 32BIT: BL_NOP &".ceil[PR]" |
| 18 |
; 64BIT: BL8_NOP &".ceil[PR]" |