[PATCH] D126380: [clang][AArch64][SVE] Implicit conversions for vector-scalar operations
David Truby via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 6 05:34:18 PDT 2022
DavidTruby added inline comments.
================
Comment at: clang/lib/Sema/SemaChecking.cpp:13582
+ // Need the original target type for vector type checks
+ const Type *OriginalTarget = S.Context.getCanonicalType(T).getTypePtr();
+ // Handle conversion from scalable to fixed when msve-vector-bits is
----------------
c-rhodes wrote:
> this is the same as `Target` defined on line 13473
The control flow in this function is a little odd, but it isn't necessarily the same target; we could have entered one or more of the if statements above that modify the target, and we need to inspect the original target here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126380/new/
https://reviews.llvm.org/D126380
More information about the cfe-commits
mailing list