1 ; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
2 ; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_20 | %ptxas-verify %}
4 ; CHECK: shift_parts_left_128
5 define void @shift_parts_left_128(ptr %val, ptr %amtptr) {
16 %amt = load i128, ptr %amtptr
17 %a = load i128, ptr %val
18 %val0 = shl i128 %a, %amt
19 store i128 %val0, ptr %val
23 ; CHECK: shift_parts_right_128
24 define void @shift_parts_right_128(ptr %val, ptr %amtptr) {
34 %amt = load i128, ptr %amtptr
35 %a = load i128, ptr %val
36 %val0 = ashr i128 %a, %amt
37 store i128 %val0, ptr %val