commit | 49a8cd29ed54c64b3b1fd80612508262a4a7b519 | [log] [tgz] |
---|---|---|
author | Juneyoung Lee <aqjune@gmail.com> | Sun Apr 18 10:57:04 2021 +0900 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Apr 17 21:35:09 2021 -0700 |
tree | 404d436e85174bd538db500972eda825ae201174 | |
parent | 3109d03cffac663e4bd297095c382bc83d1216a4 [diff] |
Update m_Undef to match vectors/aggrs with undefs and poisons mixed This fixes https://reviews.llvm.org/D93990#2666922 by teaching `m_Undef` to match vectors/aggrs with poison elements. As suggested, fixes in InstCombine files to use the `m_Undef` matcher instead of `isa<UndefValue>` will be followed. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D100122 GitOrigin-RevId: 2813acb7d1f70ec1d4a2a1360028950a0bc2ac8f