Fix tools

This commit is contained in:
Boxy Uwu 2025-11-19 23:28:50 +00:00
parent 1acfdbb3cd
commit 50ef284125

View file

@ -130,7 +130,7 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
return;
}
let idx = generic_args[2].expect_const().to_value().valtree.unwrap_branch();
let idx = generic_args[2].expect_const().to_branch();
assert_eq!(x.layout(), y.layout());
let layout = x.layout();