-
Notifications
You must be signed in to change notification settings - Fork 15k
Closed
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"good first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contributetest-suite
Description
See this comment:
llvm-project/clang/test/SemaCXX/constexpr-vectors.cpp
Lines 3 to 7 in 1139dee
// FIXME: Unfortunately there is no good way to validate that our values are | |
// correct since Vector types don't have operator [] implemented for constexpr. | |
// Instead, we need to use filecheck to ensure the emitted IR is correct. Once | |
// someone implements array subscript operator for these types as constexpr, | |
// this test should modified to jsut use static asserts. |
Now that #101126 was merged, we can rewrite this to use []
element access on the vectors and don't need to go through codegen.
Metadata
Metadata
Assignees
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"good first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contributetest-suite