[ARM] Fix STRT/STRHT/STRBT input/output operands.
authorZhuojia Shen <chaosdefinition@hotmail.com>
Tue, 26 Jan 2021 22:00:58 +0000 (14:00 -0800)
committerZhuojia Shen <chaosdefinition@hotmail.com>
Tue, 26 Jan 2021 22:00:58 +0000 (14:00 -0800)
commit8cef45517e47af7c81dd6504fa52ce98e21a6208
treedd346c7c8f2da5d83705e3925ed507361b40f4db
parenta9bd3d37bdec19fc8b4d9aad13f36902c20c7441
[ARM] Fix STRT/STRHT/STRBT input/output operands.

STRT, STRHT, and STRBT are store instructions and their source register
$Rt should be treated as an input operand instead of an output operand.
This should fix things (e.g., liveness tracking in LivePhysRegs) if
these instructions were used in CodeGen.

Differential Revision: https://reviews.llvm.org/D95074
llvm/lib/Target/ARM/ARMInstrThumb2.td