llvm-for-llvmta/test/CodeGen/Hexagon/dccleana.ll

18 lines
341 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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 }