Skip to content

Commit c29cf85

Browse files
committed
intrinsic-test: skip svld*_gather_*
These tests require that we generate test arrays with values that are valid when cast to a pointer, which we don't currently support.
1 parent 8d2ca5c commit c29cf85

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • crates/intrinsic-test/src/arm

crates/intrinsic-test/src/arm/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ impl SupportedArchitecture for Arm {
112112
// miscompiles and the Rust intrinsic call gets replaced by a constant zero (see
113113
// llvm/llvm-project#203921).
114114
.filter(|i| !i.name.starts_with("sveorv"))
115+
// These load intrinsics expect each element in the scalable vector `bases` argument to
116+
// be able to be cast to a pointer, which we don't support generating tests for yet.
117+
.filter(|i| !(i.name.starts_with("svld") && i.name.contains("_gather_")))
115118
// Skip pointers for now, we would probably need to look at the return
116119
// type to work out how many elements we need to point to.
117120
.filter(|i| !i.arguments.iter().any(|a| a.is_ptr()))

0 commit comments

Comments
 (0)