Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon -disable-hsdr < %s | FileCheck %s
      2 ; CHECK-DAG: r0 = memw
      3 ; CHECK-DAG: r1 = memw
      4 
      5 %struct.small = type { i32, i32 }
      6 
      7 @s1 = common global %struct.small zeroinitializer, align 4
      8 
      9 define void @foo() nounwind {
     10 entry:
     11   %0 = load i64, i64* bitcast (%struct.small* @s1 to i64*), align 4
     12   call void @bar(i64 %0)
     13   ret void
     14 }
     15 
     16 declare void @bar(i64)
     17