Merge commit 'cd4810de42
' into libgccjit-codegen
This commit is contained in:
commit
90be409db0
2 changed files with 3 additions and 3 deletions
|
@ -272,7 +272,7 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
|
|||
use rustc_target::abi::Abi::*;
|
||||
let tp_ty = substs.type_at(0);
|
||||
let layout = self.layout_of(tp_ty).layout;
|
||||
let use_integer_compare = match layout.abi {
|
||||
let _use_integer_compare = match layout.abi {
|
||||
Scalar(_) | ScalarPair(_, _) => true,
|
||||
Uninhabited | Vector { .. } => false,
|
||||
Aggregate { .. } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue