[all-commits] [llvm/llvm-project] 4783e2: [MachineCopyPropagation] In isNopCopy, check the d...
topperc via All-commits
all-commits at lists.llvm.org
Tue Sep 1 12:45:43 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4783e2c9c603ed6aeacc76bb1177056a9d307bd1
https://github.com/llvm/llvm-project/commit/4783e2c9c603ed6aeacc76bb1177056a9d307bd1
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M llvm/lib/CodeGen/MachineCopyPropagation.cpp
A llvm/test/CodeGen/X86/machine-cp-mask-reg.mir
Log Message:
-----------
[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
More information about the All-commits
mailing list