1; RUN: llc < %s -mtriple=ve-unknown-unknown | FileCheck %s 2 3; Function Attrs: noinline nounwind optnone 4define dso_local i64 @bitcastd2l(double %x) { 5; CHECK-LABEL: bitcastd2l: 6; CHECK: # %bb.0: 7; CHECK-NEXT: b.l.t (, %s10) 8 %r = bitcast double %x to i64 9 ret i64 %r 10} 11 12; Function Attrs: noinline nounwind optnone 13define dso_local double @bitcastl2d(i64 %x) { 14; CHECK-LABEL: bitcastl2d: 15; CHECK: # %bb.0: 16; CHECK-NEXT: b.l.t (, %s10) 17 %r = bitcast i64 %x to double 18 ret double %r 19} 20 21; Function Attrs: noinline nounwind optnone 22define dso_local float @bitcastw2f(i32 %x) { 23; CHECK-LABEL: bitcastw2f: 24; CHECK: # %bb.0: 25; CHECK-NEXT: sll %s0, %s0, 32 26; CHECK-NEXT: b.l.t (, %s10) 27 %r = bitcast i32 %x to float 28 ret float %r 29} 30 31; Function Attrs: noinline nounwind optnone 32define dso_local i32 @bitcastf2w(float %x) { 33; CHECK-LABEL: bitcastf2w: 34; CHECK: # %bb.0: 35; CHECK-NEXT: sra.l %s0, %s0, 32 36; CHECK-NEXT: b.l.t (, %s10) 37 %r = bitcast float %x to i32 38 ret i32 %r 39} 40