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
Paths
| Differential D86507
[MachineCopyPropagation] In isNopCopy, check the destination registers match in addition to the source registers. ClosedPublic Authored by craig.topper on Aug 24 2020, 11:10 PM.
Details Summary Previously if the source match we asserted that the destination Fixes this ISPC issue https://github.com/ispc/ispc/issues/1851
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 1 2020, 4:38 AM This revision was landed with ongoing or failed builds.Sep 1 2020, 12:45 PM Closed by commit rG4783e2c9c603: [MachineCopyPropagation] In isNopCopy, check the destination registers match in… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 289256 llvm/lib/CodeGen/MachineCopyPropagation.cpp
llvm/test/CodeGen/X86/machine-cp-mask-reg.mir
|