aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Hexagon/mask.ll
blob: 698d1ac26d2481bdaa5fe4aacf32ed5d2ab85bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc -mtriple=hexagon -mcpu=hexagonv73 < %s | FileCheck %s

target triple = "hexagon"

; CHECK-LABEL: test1:
; CHECK: r0 = mask(#25,#2)
; Function Attrs: optsize
define i32 @test1() #1 {
entry:
  %0 = call i32 @llvm.hexagon.A2.tfr(i32 134217724)
  ret i32 %0
}

declare i32 @llvm.hexagon.A2.tfr(i32) #0

attributes #0 = { nounwind readnone }
attributes #1 = { optsize }