Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

[InstCombine] Allow fake vector insert folding to bit-logic only if the insert element is integer type

Authored by Srividya-Karumuri on Nov 29 2021, 12:19 PM.



The below commit is causing assertion when insert element type is not integer
type such as half. This is because the transformation is creating zext before
doing bitwise OR, and the zext is supported only for integer types

Diff Detail

Event Timeline

Srividya-Karumuri requested review of this revision.Nov 29 2021, 12:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 29 2021, 12:19 PM
spatel accepted this revision.Nov 29 2021, 12:36 PM

LGTM - thanks for the fix!

This revision is now accepted and ready to land.Nov 29 2021, 12:36 PM