[PATCH] D133253: [SPIRV] add IR regularization passes
Nuno Lopes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 3 06:10:01 PDT 2022
nlopes added inline comments.
================
Comment at: llvm/lib/Target/SPIRV/SPIRVLowerConstExpr.cpp:150
+ Repl = InsertElementInst::Create(
+ (Repl ? Repl : UndefValue::get(Vec->getType())), V,
+ ConstantInt::get(Type::getInt32Ty(M->getContext()), Idx++), "",
----------------
Please use PoisonValue as a placeholder.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133253/new/
https://reviews.llvm.org/D133253
More information about the llvm-commits
mailing list