Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/autoschedulers/mullapudi2016/max_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
get_jit_target_from_environment().has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion test/correctness/align_bounds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
get_jit_target_from_environment().has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion test/correctness/bound_small_allocations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
get_jit_target_from_environment().has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion test/correctness/fit_function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
get_jit_target_from_environment().has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion test/correctness/logical.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
get_jit_target_from_environment().has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion test/correctness/predicated_store_load.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
t.has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
9 changes: 9 additions & 0 deletions test/correctness/strict_fma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@ int test() {
}

int main(int argc, char **argv) {
Target t = get_jit_target_from_environment();

// LLVM < 22 cannot widen non-native vector stores for SVE, hitting
// "LLVM ERROR: Unable to widen vector store". Fixed in LLVM 22 by:
// https://github.com/llvm/llvm-project/commit/8cf43aebc67b (PR #160515)
if (Internal::get_llvm_version() < 220 && t.has_feature(Target::SVE2)) {
printf("[SKIP] LLVM <22 cannot widen vector stores for SVE scalable types.\n");
return 0;
}

if (test<double, uint64_t>() ||
test<float, uint32_t>() ||
Expand Down
2 changes: 1 addition & 1 deletion test/correctness/truncated_pyramid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
get_jit_target_from_environment().has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion test/correctness/vectorize_nested.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
get_jit_target_from_environment().has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion test/performance/const_division.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ int main(int argc, char **argv) {
if (Internal::get_llvm_version() >= 210 &&
Internal::get_llvm_version() < 220 &&
target.has_feature(Target::SVE2)) {
printf("[SKIP] LLVM 21 has known getFixedValue() assertions on SVE scalable types.\n");
printf("[SKIP] LLVM 21 has known getFixedValue() assertion failures on SVE scalable types.\n");
return 0;
}

Expand Down
Loading