[TableGen][SchedModels] Fix read/write variant substitution
authorEvgeny Leviant <eleviant@accesssoftek.com>
Mon, 30 Nov 2020 08:55:55 +0000 (11:55 +0300)
committerEvgeny Leviant <eleviant@accesssoftek.com>
Mon, 30 Nov 2020 08:55:55 +0000 (11:55 +0300)
commit112b3cb6ba49aacd821440d0913f15b32131480e
treebb2247b4020641630e020ed0f13fef20cbb1d1b8
parent047400ed8204ebcc0b361ca9285b34ea91479b69
[TableGen][SchedModels] Fix read/write variant substitution

Patch fixes multiple issues related to expansion of variant sched reads and
writes.

Differential revision: https://reviews.llvm.org/D90844
llvm/lib/Target/ARM/ARMScheduleA57.td
llvm/test/CodeGen/ARM/cortex-a57-misched-mla.mir [new file with mode: 0644]
llvm/utils/TableGen/CodeGenSchedule.cpp
llvm/utils/TableGen/CodeGenSchedule.h