These 2 spots are protecting calls to SVE specific functions. If RISC-V
sizeless types end up in there we trigger assertions.
Use the more specific isSVESizelessBuiltinType() to avoid letting
RISC-V vectors through.
Paths
| Differential D144772
[Sema] Use isSVESizelessBuiltinType instead of isSizelessBuiltinType to prevent crashing on RISC-V. ClosedPublic Authored by craig.topper on Feb 24 2023, 8:15 PM.
Details Summary These 2 spots are protecting calls to SVE specific functions. If RISC-V Use the more specific isSVESizelessBuiltinType() to avoid letting
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 27 2023, 1:04 AM This revision was landed with ongoing or failed builds.Feb 27 2023, 9:19 AM Closed by commit rG2e7311170201: [Sema] Use isSVESizelessBuiltinType instead of isSizelessBuiltinType to prevent… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 500827 clang/lib/AST/ASTContext.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/Sema/attr-riscv-rvv-vector-bits.c
|