Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon -O0 < %s | FileCheck %s
      2 
      3 target triple = "hexagon-unknown-linux-gnu"
      4 
      5 ; Function Attrs: nounwind
      6 define void @f0() #0 {
      7 b0:
      8   %v0 = alloca i32, align 4
      9   %v1 = bitcast i32* %v0 to i64*
     10   %v2 = load i64, i64* %v1, align 8
     11 ; CHECK: 	call f1
     12   %v3 = call i32 @f1(i64 %v2)
     13   unreachable
     14 }
     15 
     16 ; Function Attrs: inlinehint nounwind
     17 declare i32 @f1(i64) #1
     18 
     19 attributes #0 = { nounwind "target-cpu"="hexagonv55" }
     20 attributes #1 = { inlinehint nounwind }
     21