about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorBoxy <supbscripter@gmail.com>2024-06-03 02:34:35 +0100
committerBoxy <supbscripter@gmail.com>2024-06-05 22:25:41 +0100
commita9702a66684f0e1f412d92a83761be2e461b69fb (patch)
treea0996c6eb298ce6f655671c36517f7dd44e501c4 /compiler/rustc_codegen_llvm/src
parent58feec9b85a18d26507dfe6d075fd128a1265888 (diff)
downloadrust-a9702a66684f0e1f412d92a83761be2e461b69fb.tar.gz
rust-a9702a66684f0e1f412d92a83761be2e461b69fb.zip
Add `Ty` to `ConstKind::Value`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/intrinsic.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs
index 39bbf87bea7..7b1038d5617 100644
--- a/compiler/rustc_codegen_llvm/src/intrinsic.rs
+++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs
@@ -1201,6 +1201,7 @@ fn generic_simd_intrinsic<'ll, 'tcx>(
             .expect_const()
             .eval(tcx, ty::ParamEnv::reveal_all(), span)
             .unwrap()
+            .1
             .unwrap_branch();
         let n = idx.len() as u64;