When using the 'push' mnemonic for Thumb2 stmdb, be explicit when it's the
[oota-llvm.git] / test / CodeGen / SystemZ / 2009-07-11-FloatBitConvert.ll
1 ; RUN: llc < %s
2
3 target datalayout = "E-p:64:64:64-i8:8:16-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-a0:16:16"
4 target triple = "s390x-ibm-linux"
5
6 define float @foo(i32 signext %a) {
7 entry:
8     %b = bitcast i32 %a to float
9     ret float %b
10 }
11
12 define i32 @bar(float %a) {
13 entry:
14     %b = bitcast float %a to i32
15     ret i32 %b
16 }