Remove unnecessary applyMask() application.

applyMask(0xffffffff, x) is an identity function.

llvm-svn: 340152
This commit is contained in:
Rui Ueyama 2018-08-20 06:33:29 +00:00
parent ff70172716
commit 4c7d6beb37
1 changed files with 1 additions and 1 deletions

View File

@ -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));