[PATCH] D97053: [clang][SVE] Don't warn on vector to sizeless builtin implicit conversion
Cullen Rhodes via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 22 10:04:19 PST 2021
c-rhodes accepted this revision.
c-rhodes added a comment.
This revision is now accepted and ready to land.
LGTM thanks
================
Comment at: clang/lib/Sema/SemaChecking.cpp:12054
// Strip vector types.
- if (isa<VectorType>(Source)) {
+ if (auto *SourceVT = dyn_cast<VectorType>(Source)) {
+ if (Target->isVLSTBuiltinType()) {
----------------
nit: can this warning be fixed before landing?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97053/new/
https://reviews.llvm.org/D97053
More information about the cfe-commits
mailing list