diff options
| author | Petar Avramovic <Petar.Avramovic@amd.com> | 2022-01-12 17:43:18 +0100 |
|---|---|---|
| committer | Petar Avramovic <Petar.Avramovic@amd.com> | 2022-01-12 17:47:25 +0100 |
| commit | c8c5dc766b259a64daf8e43045bed4e01455078c (patch) | |
| tree | 2490748ba5a58fb15f88b02a66ceb88842c8e1d2 /lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h | |
| parent | 9f38a681cf25df5263105a8a4022d34caf3be051 (diff) | |
| download | llvm-c8c5dc766b259a64daf8e43045bed4e01455078c.tar.gz llvm-c8c5dc766b259a64daf8e43045bed4e01455078c.tar.bz2 llvm-c8c5dc766b259a64daf8e43045bed4e01455078c.zip | |
GlobalIsel: Fix fma combine when one of the operands comes from unmerge
Fma combine assumes that MRI.getVRegDef(Reg)->getOperand(0).getReg() = Reg
which is not true when Reg is defined by instruction with multiple defs
e.g. G_UNMERGE_VALUES.
Fix is to keep register and the instruction that defines register in
DefinitionAndSourceRegister and use when needed.
Differential Revision: https://reviews.llvm.org/D117032
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h')
0 files changed, 0 insertions, 0 deletions
