diff options
author | Volkan Keles <vkeles@apple.com> | 2019-12-02 12:05:09 -0800 |
---|---|---|
committer | Volkan Keles <vkeles@apple.com> | 2019-12-02 12:05:09 -0800 |
commit | 3d02fa6da7d250e086b01b4ec66b513debb7950d (patch) | |
tree | 288b3cbb84f02af15202c891b5f9563ad1091a21 /lldb/packages/Python/lldbsuite/test/python_api/formatters | |
parent | 469ee617a011354b37d4c8d1c41ba8be0d719af0 (diff) | |
download | bcm5719-llvm-3d02fa6da7d250e086b01b4ec66b513debb7950d.tar.gz bcm5719-llvm-3d02fa6da7d250e086b01b4ec66b513debb7950d.zip |
[GlobalISel] CombinerHelper: Fix a bug in matchCombineCopy
Summary:
When combining COPY instructions, we were replacing the destination registers
with the source register without checking register constraints. This patch adds
a simple logic to check if the constraints match before replacing registers.
Reviewers: qcolombet, aditya_nandakumar, aemerson, paquette, dsanders, Petar.Avramovic
Reviewed By: aditya_nandakumar
Subscribers: rovka, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70616
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/formatters')
0 files changed, 0 insertions, 0 deletions