about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2023-02-25 21:48:44 -0500
committerAntoni Boucher <bouanto@zoho.com>2023-02-25 21:48:44 -0500
commit16b377efbd612c276a6800dbcecbb0fe9ad9a204 (patch)
tree2bd49a4bd81471771af005c3086e6d7eeb838908
parentedee0973b24382d641c5b1c5ab43ee16e8d4ec36 (diff)
downloadrust-16b377efbd612c276a6800dbcecbb0fe9ad9a204.tar.gz
rust-16b377efbd612c276a6800dbcecbb0fe9ad9a204.zip
Remove comment
-rw-r--r--src/intrinsic/simd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intrinsic/simd.rs b/src/intrinsic/simd.rs
index 0635ad2e0c7..233d0b7f739 100644
--- a/src/intrinsic/simd.rs
+++ b/src/intrinsic/simd.rs
@@ -549,7 +549,7 @@ pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>(bx: &mut Builder<'a, 'gcc, 'tcx>,
         let mut mask_values = vec![];
         for i in 0..in_len {
             let index = bx.context.new_rvalue_from_long(bx.i32_type, i as i64);
-            mask_types.push(bx.context.new_field(None, bx.i32_type, "m")); // TODO: choose an integer based on the size of the vector element type.
+            mask_types.push(bx.context.new_field(None, bx.i32_type, "m"));
             let mask_value = bx.context.new_vector_access(None, mask, index).to_rvalue();
             let masked = bx.context.new_rvalue_from_int(bx.i32_type, in_len as i32) & mask_value;
             let value = index + masked;