This is an archive of the discontinued LLVM Phabricator instance.

Use poison instead of undef as placeholder for vector construction [NFC]
ClosedPublic

Authored by ManuelJBrito on Nov 21 2022, 10:25 AM.

Details

Summary

Replacing the following instances of UndefValue with PoisonValue where the UndefValue is used as a placeholder for vector construction.

Diff Detail

Event Timeline

ManuelJBrito created this revision.Nov 21 2022, 10:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 10:25 AM
ManuelJBrito requested review of this revision.Nov 21 2022, 10:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 10:25 AM

Not sure about the change in the test llvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-expandload.ll.

nlopes accepted this revision.Nov 21 2022, 10:37 AM

LGTM

This revision is now accepted and ready to land.Nov 21 2022, 10:37 AM
This revision was landed with ongoing or failed builds.Nov 21 2022, 10:43 AM
This revision was automatically updated to reflect the committed changes.