• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9define double @call_ceil(double %n) {
10entry:
11  %0 = call double @llvm.ceil.f64(double %n)
12  ret double %0
13}
14
15declare double @llvm.ceil.f64(double)
16
17; 32BIT: BL_NOP &".ceil[PR]"
18; 64BIT: BL8_NOP &".ceil[PR]"
19