-
zhengxing.li authored
The reason: In CreateRandomOperand(), It used the register index 1 for ExplicitOperand(LocationOperand::REGISTER, rep, GetRegisterCode(rep, 1)). For x87 turbofan compiler, there's only 1 allocatable Float/Double register, i.e.: register index 0. the GetRegisterCode(rep, 1) in ExplicitOperand() always return false when rep is MachineRepresentation::kFloat32/kFloat64. It caused the test-gap-resolver/FuzzResolver failed at DCHECK_IMPLIES(kind == REGISTER && rep == MachineRepresentation::kFloat32, FloatRegister::from_code(index).IsAllocatable(RegisterConfiguration::TURBOFAN)), src/compiler/instruction.cc, line 259, under debug mode. This CL disable test-gap-resolver/FuzzResolver test case for x87. BUG= Review-Url: https://codereview.chromium.org/2120203002 Cr-Commit-Position: refs/heads/master@{#37515}
bf4ef548