1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/CodeGen/Hexagon/dccleana.ll
Krzysztof Parzyszek 66abdd815e [Hexagon] Add more lit tests
llvm-svn: 327271
2018-03-12 14:01:28 +00:00

18 lines
341 B
LLVM

; 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 }