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

15 lines
298 B
LLVM

; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: combine(r{{[0-9]+}}.l,r{{[0-9]+}}.h)
target triple = "hexagon"
; Function Attrs: nounwind readnone
define i32 @f0(i64 %a0) #0 {
b0:
%v0 = lshr i64 %a0, 16
%v1 = trunc i64 %v0 to i32
ret i32 %v1
}
attributes #0 = { nounwind readnone }