HomePhabricator

[mips] Implement .cplocal directive

Authored by atanasyan on Jul 17 2019, 1:11 AM.

Description

[mips] Implement .cplocal directive

This directive forces to use the alternate register for context pointer.
For example, this code:

.cplocal $4
jal foo

expands to:

ld    $25, %call16(foo)($4)
jalr  $25

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

llvm-svn: 366300

Details

Committed
atanasyanJul 17 2019, 1:11 AM
Differential Revision
D64743: [mips] Implement .cplocal directive
Parents
rG7f308af5eeea: [mips] Support the "o" inline asm constraint
Branches
Unknown
Tags
Unknown