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
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
MC
/
ARM
/
thumb2-b.w-target.s
blob
7ae1a3beaac3c17878b439c0d8565381beab7ef2
1
//
RUN
:
llvm-mc
-
triple
=
thumbv7
-
filetype
=
obj
%
s | llvm-objdump
--
triple
=
thumbv7
-
d
-
| FileCheck
%
s
2
3
.syntax unified
4
5
//
CHECK-LABEL
:
start
6
//
CHECK-NEXT
:
b.w
{{
.+}} @ imm =
#16777208
7
//
CHECK-NEXT
:
b.w
{{
.+}} @ imm =
#2
8
start
:
9
b.w start
-
1
f
+
0x1000000
10
1
:
11
b.w
. + (2f - 1b + 2)
12
2
: