projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff70172
)
Remove unnecessary applyMask() application.
author
Rui Ueyama
<ruiu@google.com>
Mon, 20 Aug 2018 06:33:29 +0000
(06:33 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Mon, 20 Aug 2018 06:33:29 +0000
(06:33 +0000)
applyMask(0xffffffff, x) is an identity function.
llvm-svn: 340152
lld/ELF/Arch/Hexagon.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Arch/Hexagon.cpp
b/lld/ELF/Arch/Hexagon.cpp
index
8f323a4
..
b0663a4
100644
(file)
--- a/
lld/ELF/Arch/Hexagon.cpp
+++ b/
lld/ELF/Arch/Hexagon.cpp
@@
-129,7
+129,7
@@
void Hexagon::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const {
or32le(Loc, applyMask(0x000007e0, Val));
break;
case R_HEX_32:
- or32le(Loc,
applyMask(0xffffffff, Val)
);
+ or32le(Loc,
Val
);
break;
case R_HEX_32_6_X:
or32le(Loc, applyMask(0x0fff3fff, Val >> 6));