diff options
author | Craig Topper <craig.topper@intel.com> | 2020-09-01 12:14:32 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-09-01 12:44:32 -0700 |
commit | 4783e2c9c603ed6aeacc76bb1177056a9d307bd1 (patch) | |
tree | 9bbabfbbdec5ab8ffddad5791fd841edbc6840d5 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 96f0b57568c3047fde0c1e4b4f52401ce34f2da2 (diff) | |
download | llvm-4783e2c9c603ed6aeacc76bb1177056a9d307bd1.zip llvm-4783e2c9c603ed6aeacc76bb1177056a9d307bd1.tar.gz llvm-4783e2c9c603ed6aeacc76bb1177056a9d307bd1.tar.bz2 |
[MachineCopyPropagation] In isNopCopy, check the destination registers match in addition to the source registers.
Previously if the source match we asserted that the destination
matched. But GPR <-> mask register copies on X86 can violate this
since we use the same K-registers for multiple sizes.
Fixes this ISPC issue https://github.com/ispc/ispc/issues/1851
Differential Revision: https://reviews.llvm.org/D86507
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions