Address review comments

This commit is contained in:
Nikita Popov 2024-01-02 14:41:08 +01:00
parent c2fd26a115
commit 8e64fc94d8
3 changed files with 6 additions and 9 deletions

View file

@ -26,7 +26,6 @@ fn uncached_llvm_type<'a, 'tcx>(
let element = layout.scalar_llvm_type_at(cx, element);
return cx.type_vector(element, count);
}
// Treat ScalarPair like a normal aggregate for the purposes of in-memory representation.
Abi::Uninhabited | Abi::Aggregate { .. } | Abi::ScalarPair(..) => {}
}