mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-25 15:41:05 +00:00
Move Value adjustment to applyFixup. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306178 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d8b65f712
commit
374592322d
@ -126,14 +126,13 @@ void AMDGPUAsmBackend::processFixupValue(const MCAssembler &Asm,
|
||||
IsResolved = true;
|
||||
|
||||
}
|
||||
if (IsResolved)
|
||||
Value = adjustFixupValue(Fixup, Value, &Asm.getContext());
|
||||
}
|
||||
|
||||
void AMDGPUAsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
|
||||
const MCValue &Target,
|
||||
MutableArrayRef<char> Data, uint64_t Value,
|
||||
bool IsPCRel, MCContext &Ctx) const {
|
||||
Value = adjustFixupValue(Fixup, Value, &Asm.getContext());
|
||||
if (!Value)
|
||||
return; // Doesn't change encoding.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user