1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02: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 }