• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=mips < %s | FileCheck %s
2
3; CHECK: mul $2, $5, $4
4define i32 @mul1(i32 %a, i32 %b) nounwind readnone {
5entry:
6  %mul = mul i32 %b, %a
7  ret i32 %mul
8}
9
10; CHECK: mul $2, $5, $4
11define i32 @mul2(i32 %a, i32 %b) nounwind readnone {
12entry:
13  %mul = mul nsw i32 %b, %a
14  ret i32 %mul
15}
16