llvm.org GIT mirror llvm / eb181e8 test / CodeGen / Thumb / 2009-06-18-ThumbCommuteMul.ll
eb181e8

Tree @eb181e8 (Download .tar.gz)

2009-06-18-ThumbCommuteMul.ll @eb181e8raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s

define i32 @a(i32 %x, i32 %y) nounwind readnone {
entry:
	%mul = mul i32 %y, %x		; <i32> [#uses=1]
	ret i32 %mul
}

; CHECK: r0