HomePhabricator

[RISCV] Fix inaccurate annotations on PseudoBRIND

Authored by lewis-revill on Aug 21 2020, 2:47 AM.

Description

[RISCV] Fix inaccurate annotations on PseudoBRIND

PseudoBRIND had seemingly inherited incorrect annotations denoting it as
a call instruction and that it defines X1/ra. This caused excess
save/restore code to be emitted for ra.

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

Details