blob: 7820f1252e1214cc05d98c76069460bdc2ea52b0 [file] [log] [blame]
Krzysztof Parzyszek046090d2018-03-12 14:01:28 +00001; RUN: llc -march=hexagon < %s | FileCheck %s
2; CHECK: combine(r{{[0-9]+}}.l,r{{[0-9]+}}.h)
3
4target triple = "hexagon"
5
6; Function Attrs: nounwind readnone
7define i32 @f0(i64 %a0) #0 {
8b0:
9 %v0 = lshr i64 %a0, 16
10 %v1 = trunc i64 %v0 to i32
11 ret i32 %v1
12}
13
14attributes #0 = { nounwind readnone }