You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RISC-V CMake test defaults clobber e2e --iree-llvmcpu-target-cpu-features #24859
On RISC-V Linux CMake builds, iree_compile_flags_for_platform always appends RISCV64_TEST_DEFAULT_LLVM_FLAGS, including --iree-llvmcpu-target-cpu-features=+m,+a,+f,+d,+c,+zvl512b,+v. iree_bytecode_module then puts those platform flags after the test variant's own flags. LLVM last-wins, so any TARGET_CPU_FEATURES_VARIANTS feature set is discarded.
The first casualty is riscv_64:ime:+v,+zvl256b,+xsmtvdot. The e2e target is named _ime but the vmfb is generic RVV at VLEN=512 with no +xsmtvdot.
Repro
Current CMake, build-riscv. Ninja line for e2e_matmul_cpu_dt_uk_i8_i32_llvm-cpu_local-task_ime_matmul.vmfb:
Activity
[Build] Stop CMake riscv64 defaults from clobbering test cpu-features (…