The calculation of LargestBuiltinID needs all targets information.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Isn't SVE::FirstTSBuiltin used to start AArch64's builtins list. So shouldn't AArch64::LastTSBuiltin be larger?
Comment Actions
That raises the question of why the NEON and SVE are in this list std::max at all. They're only helpers for generating the correct information for ARM and AArch64 which will always be larger.
clang/include/clang/Basic/TargetBuiltins.h | ||
---|---|---|
333–334 | SVE::FirstTSBuiltin can be dropped. |
clang/include/clang/Basic/TargetBuiltins.h | ||
---|---|---|
333–334 | SVE and NEON are removed, VE and RISCV are added. Can I commit it? |
SVE::FirstTSBuiltin can be dropped.