1
; fcfid and fctid should be generated when the 64bit feature is enabled, but not
4
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mattr=+64bit | \
6
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mattr=+64bit | \
8
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mcpu=g5 | \
10
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mcpu=g5 | \
12
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mattr=-64bit | \
14
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mattr=-64bit | \
15
; RUN: not grep fctidz
16
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mcpu=g4 | \
18
; RUN: llc < %s -mattr=-vsx -march=ppc32 -mcpu=g4 | \
19
; RUN: not grep fctidz
21
define double @X(double %Y) {
22
%A = fptosi double %Y to i64 ; <i64> [#uses=1]
23
%B = sitofp i64 %A to double ; <double> [#uses=1]