blob: 5457b12afcba0f830f84e3c6f5cd3eb48775b4b4 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s
Anton Korobeynikov9419a0d2009-07-16 14:30:49 +00002
Anton Korobeynikovbb8a0482009-07-16 14:30:29 +00003target 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"
4target triple = "s390x-linux"
5
6define float @foo(i32 signext %a) {
7entry:
8 %b = bitcast i32 %a to float
9 ret float %b
10}
11
12define i32 @bar(float %a) {
13entry:
14 %b = bitcast float %a to i32
15 ret i32 %b
Chris Lattnerd2075582010-04-07 22:53:17 +000016}