1 ; RUN: llc -march=hexagon < %s | FileCheck %s
6 ; CHECK-LABEL: test_i8:
8 %res = tail call i32 @ret_i32()
9 %val = trunc i32 %res to i8
13 define i16 @test_i16() {
14 ; CHECK-LABEL: test_i16:
16 %res = tail call i32 @ret_i32()
17 %val = trunc i32 %res to i16
21 declare i64 @ret_i64()
22 define i32 @test_i32() {
23 ; CHECK-LABEL: test_i32:
25 %res = tail call i64 @ret_i64()
26 %val = trunc i64 %res to i32