[all-commits] [llvm/llvm-project] c2f29f: [ValueMapper] allow mapping ConstantTargetNone to ...
yubingex007-a11y via All-commits
all-commits at lists.llvm.org
Tue Apr 25 00:48:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c2f29f24c2997952b080ce5b0a5301408d932d28
https://github.com/llvm/llvm-project/commit/c2f29f24c2997952b080ce5b0a5301408d932d28
Author: Bing1 Yu <bing1.yu at intel.com>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/unittests/Transforms/Utils/ValueMapperTest.cpp
Log Message:
-----------
[ValueMapper] allow mapping ConstantTargetNone to its layout type
zeroinitializer is allowed for spirv TargetExtType.
This PR allows ValueMapper to map TargetExtType ConstantTargetNone to '0' constant of its layout type.
Reviewed By: jcranmer-intel
Differential Revision: https://reviews.llvm.org/D148774
More information about the All-commits
mailing list