mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
66abdd815e
llvm-svn: 327271
18 lines
341 B
LLVM
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 }
|