Skip to content

Commit 50ef284

Browse files
committed
Fix tools
1 parent 1acfdbb commit 50ef284

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/intrinsics/simd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
130130
return;
131131
}
132132

133-
let idx = generic_args[2].expect_const().to_value().valtree.unwrap_branch();
133+
let idx = generic_args[2].expect_const().to_branch();
134134

135135
assert_eq!(x.layout(), y.layout());
136136
let layout = x.layout();

0 commit comments

Comments
 (0)