1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 ; RUN: llc -march=hexagon -early-live-intervals -verify-machineinstrs < %s | FileCheck %s
5 target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"
6 target triple = "hexagon"
8 define i64 @f0(i32 %a0, i64 %a1, i32 %a2, i32 %a3, i1 zeroext %a4) #0 {
10 ; CHECK: // %bb.0: // %b0
12 ; CHECK-NEXT: r0 = memub(r29+#0)
15 ; CHECK-NEXT: r0 = sub(#0,r0)
18 ; CHECK-NEXT: r1 = asr(r0,#31)
19 ; CHECK-NEXT: jumpr r31
22 %v0 = sext i1 %a4 to i64
26 attributes #0 = { nounwind "target-cpu"="hexagonv66" "target-features"="+v66,-long-calls" }