This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Set isAsmParserOnly=1 for X-form TLS loads/stores
ClosedPublic

Authored by syzaara on May 25 2018, 11:31 AM.

Details

Summary

The X-form TLS load/store instructions added for optimizing the initial-exec sequence in https://reviews.llvm.org/rL327635 fail to assemble.
llvm-mc fails with the error: invalid operand for instruction.
This patch adds these instructions into a block with isAsmParserOnly, similar to how ADD8TLS_ is currently handled.

Diff Detail

Repository
rL LLVM