repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Thumb
/
mul.ll
blob
13a2cfb4c2420840f2f612e06d7eeabbe689bc76
1
; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
2
3
define i32 @f1(i32 %u) {
4
%tmp = mul i32 %u, %u
5
ret i32 %tmp
6
}
7
8
; CHECK: mul{{s?}}
9
10
define i32 @f2(i32 %u, i32 %v) {
11
%tmp = mul i32 %u, %v
12
ret i32 %tmp
13
}
14
15
; CHECK: mul{{s?}}
16
17
define i32 @f3(i32 %u) {
18
%tmp = mul i32 %u, 5
19
ret i32 %tmp
20
}
21
22
; CHECK: mul{{s?}}
23
24
define i32 @f4(i32 %u) {
25
%tmp = mul i32 %u, 4
26
ret i32 %tmp
27
}
28
29
; CHECK: lsl
30
; CHECK-NOT: mul{{s?}}
31
; CHECK-NOT: lsl
32