This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Add detailed tests for lower call
ClosedPublic

Authored by Petar.Avramovic on May 29 2019, 6:45 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.May 31 2019, 12:13 AM
This revision was automatically updated to reflect the committed changes.