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