blob: 5c883b3930dceee23f4a5f7a6b750e04dfdf762e [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=thumb | grep r0 | count 1
Eli Friedman2e051ed2009-06-19 01:43:08 +00002
3define i32 @a(i32 %x, i32 %y) nounwind readnone {
4entry:
5 %mul = mul i32 %y, %x ; <i32> [#uses=1]
6 ret i32 %mul
7}
8