Skip to content
Commit 1a728fdf authored by Simon Atanasyan's avatar Simon Atanasyan
Browse files

[ELF][MIPS] Simplify `if` condition. NFC

In case of MIPS ABI relocation has R_GOTREL expression's type iif the
relocation type is either R_MIPS_GPREL16 or R_MIPS_GPREL32. So it is
enough to check expression's type only.

llvm-svn: 268741
parent 1771948d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment