1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; All of these should be no-ops. Check this with -O0, to make sure
3 ; that no register copies are generated at any time.
6 ; CHECK-NOT: r{{[0-9]+}} = r{{[0-9]+}}
8 define float @f0(i32 %a0) #0 {
10 %v0 = bitcast i32 %a0 to float
15 ; CHECK-NOT: r{{[0-9]+}} = r{{[0-9]+}}
17 define i32 @f1(float %a0) #0 {
19 %v0 = bitcast float %a0 to i32
24 ; CHECK-NOT: r{{[0-9:]*}} = r{{[0-9:]*}}
26 define double @f2(i64 %a0) #0 {
28 %v0 = bitcast i64 %a0 to double
33 ; CHECK-NOT: r{{[0-9:]*}} = r{{[0-9:]*}}
35 define i64 @f3(double %a0) #0 {
37 %v0 = bitcast double %a0 to i64
41 attributes #0 = { nounwind "target-cpu"="hexagonv55" }