Revert D152502 and instead optimize away copy from undefs, but clear the undef flag on the original copy.
Apparently, not optimizing the COPY can cause performance issues in some cases.
Fixes SWDEV-405813, SWDEV-405899
Differential D153838
[MCP] Optimize copies from undef Authored by Pierre-vh on Jun 27 2023, 12:27 AM.
Details
Revert D152502 and instead optimize away copy from undefs, but clear the undef flag on the original copy. Fixes SWDEV-405813, SWDEV-405899
Diff Detail
Event Timeline
| ||||||||||||||||||||||||||||||||||||||||||||
Doesn't PrevCopyOperands->Source->setIsUndef(false) work?