HomePhabricator

[mips] Replace call `expandLoadAddress` by `loadAndAddSymbolAddress`. NFC

Authored by atanasyan on Wed, Aug 21, 11:54 AM.

Description

[mips] Replace call expandLoadAddress by loadAndAddSymbolAddress. NFC

In case of expanding lw/sw $reg, symbol($reg) instruction for PIC it's
enough to call the loadAndAddSymbolAddress method. Additional work
performed by the expandLoadAddress is not required here.

llvm-svn: 369563

Details

Committed
atanasyanWed, Aug 21, 11:54 AM
Parents
rGbb2f85724722: [mips] Remove duplicated case from the `StringSwitch`. NFC
Branches
Unknown
Tags
Unknown