HomePhabricator

[RISCV] Expand function call to "call" pseudoinstruction

Authored by shiva0217 on Apr 25 2018, 7:19 AM.

Description

[RISCV] Expand function call to "call" pseudoinstruction

To do this:

  1. Change GlobalAddress SDNode to TargetGlobalAddress to avoid legalizer split the symbol.
  1. Change ExternalSymbol SDNode to TargetExternalSymbol to avoid legalizer split the symbol.
  1. Let PseudoCALL match direct call with target operand TargetGlobalAddress and TargetExternalSymbol.

Differential Revision: https://reviews.llvm.org/D44885

llvm-svn: 330827

Details