repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
NVPTX
/
imad.ll
blob
67421c7cac4b705a3c2ea402cefd092fb7ed0736
1
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3
; CHECK: imad
4
define 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
}