zeroinitializer is allowed for spirv TargetExtType.
This PR allows ValueMapper to map TargetExtType ConstantTargetNone to '0' constant of its layout type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D148774
[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.
Diff Detail
Event TimelineThis 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 Closed by commit rGc2f29f24c299: [ValueMapper] allow mapping ConstantTargetNone to its layout type (authored by yubing). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 516690 llvm/lib/Transforms/Utils/ValueMapper.cpp
llvm/unittests/Transforms/Utils/ValueMapperTest.cpp
|