This is an archive of the discontinued LLVM Phabricator instance.

[ValueMapper] allow mapping ConstantTargetNone to its layout type
ClosedPublic

Authored by wenju on Apr 19 2023, 7:32 PM.

Details

Summary

zeroinitializer is allowed for spirv TargetExtType.
This PR allows ValueMapper to map TargetExtType ConstantTargetNone to '0' constant of its layout type.

Diff Detail

Event Timeline

wenju created this revision.Apr 19 2023, 7:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 7:32 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
wenju requested review of this revision.Apr 19 2023, 7:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 7:32 PM
jcranmer-intel accepted this revision.Apr 21 2023, 2:40 PM
This revision is now accepted and ready to land.Apr 21 2023, 2:40 PM
This revision was landed with ongoing or failed builds.Apr 25 2023, 12:48 AM
This revision was automatically updated to reflect the committed changes.