HomePhabricator

[MIPS GlobalISel] Add detailed tests for lower call

Description

[MIPS GlobalISel] Add detailed tests for lower call

Test different operand types of callee and their behavior whether
relocation model is pic or not.
Possible operand types are:
Register (function pointer),
External symbol (used for libcalls e.g. __udivdi3 or memcpy),
Global address.

Global address has different handling depending on relocation model
and linkage type. Register and external symbol do not.

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

Details

Committed
Petar.AvramovicMay 31 2019, 1:40 AM
Differential Revision
D62590: [MIPS GlobalISel] Add detailed tests for lower call
Parents
rL362211: Follow up and fix for rL362064
Branches
Unknown
Tags
Unknown