HomePhabricator

[PowerPC][PC Rel] Implement option to omit Power10 instructions from stubs

Authored by Conanap on Mar 4 2021, 10:17 AM.

Description

[PowerPC][PC Rel] Implement option to omit Power10 instructions from stubs

Implemented the option to omit Power10 instructions from save stubs via the
option --no-power10-stubs or --power10-stubs=no on lld. --power10-stubs= will
override the other option. --power10-stubs=auto also exists to use the default
behaviour (ie allow Power10 instructions in stubs).

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