1; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3; CHECK: imad
4define i32 @imad(i32 %a, i32 %b, i32 %c) {
5; CHECK: mad.lo.s32
6  %val0 = mul i32 %a, %b
7  %val1 = add i32 %val0, %c
8  ret i32 %val1
9}
10