1 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -stop-after=finalize-isel -debug-only=isel -o /dev/null %s 2>&1 | FileCheck %s
3 define i64 @i64_test(i64 %i) nounwind readnone {
4 %loc = alloca i64, addrspace(5)
5 %j = load i64, ptr addrspace(5) %loc
10 define i64 @i32_test(i32 %i) nounwind readnone {
11 %loc = alloca i32, addrspace(5)
12 %j = load i32, ptr addrspace(5) %loc
14 %ext = zext i32 %r to i64
18 define i64 @i16_test(i16 %i) nounwind readnone {
19 %loc = alloca i16, addrspace(5)
20 %j = load i16, ptr addrspace(5) %loc
22 %ext = zext i16 %r to i64
26 define i64 @i8_test(i8 %i) nounwind readnone {
27 %loc = alloca i8, addrspace(5)
28 %j = load i8, ptr addrspace(5) %loc
30 %ext = zext i8 %r to i64