summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/dccleana.ll
blob: 633ac69fd60d28f3cc0ae09efc5f2b021c2461b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc -march=hexagon < %s | FileCheck %s
; REQUIRES: asserts

; CHECK: dccleana

; Function Attrs: nounwind
declare void @llvm.hexagon.Y2.dccleana(i8*) #0

define i32 @f0(i8* %a0) {
b0:
  tail call void @llvm.hexagon.Y2.dccleana(i8* %a0)
  %v0 = load i8, i8* %a0
  %v1 = zext i8 %v0 to i32
  ret i32 %v1
}

attributes #0 = { nounwind }
OpenPOWER on IntegriCloud