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
/
Mips
/
micromips-func-addr.s
blob
85d7bf79870a19ed3f18328abda1cebc7e239f23
1
# RUN: llvm-mc %s -filetype=obj -triple=mipsel-unknown-linux \
2
# RUN: -mattr=micromips | llvm-readobj -r - \
3
# RUN: | FileCheck %s
4
# CHECK: Relocations [
5
# CHECK: 0x0 R_MIPS_32 bar
6
# CHECK: 0x4 R_MIPS_32 L1
7
8
.set micromips
9
.type bar,@function
10
bar
:
11
L1
:
12
nop
13
.data
14
.4
byte bar
15
.4
byte L1
16