[PATCH] D122046: [clang] Remove Address::deprecated from MveEmitter
Nikita Popov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 20 14:05:35 PDT 2022
nikic added inline comments.
================
Comment at: clang/utils/TableGen/MveEmitter.cpp:1197
+ const Type *Ty = nullptr;
+ if (auto *DI = dyn_cast<DagInit>(D->getArg(0))->getOperator())
+ if (auto *PTy = dyn_cast<PointerType>(getType(DI, Param)))
----------------
Should be either `cast` or check for nullptr before dereferencing?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122046/new/
https://reviews.llvm.org/D122046
More information about the cfe-commits
mailing list