Disallow == between floats
This commit is contained in:
		
							parent
							
								
									685520a6cf
								
							
						
					
					
						commit
						3e0367fb1e
					
				| @ -582,9 +582,6 @@ pub fn form_intrinsic_binops() -> Vec<BinopDefinition> { | |||||||
|                 scope.block.build(Instr::FSub(lhs, mul)).unwrap() |                 scope.block.build(Instr::FSub(lhs, mul)).unwrap() | ||||||
|             } |             } | ||||||
|         })); |         })); | ||||||
|         intrinsics.push(boolean_binop_def(Cmp(CmpOperator::EQ), &ty, |scope, lhs, rhs| { |  | ||||||
|             scope.block.build(Instr::FCmp(CmpPredicate::EQ, lhs, rhs)).unwrap() |  | ||||||
|         })); |  | ||||||
|         intrinsics.push(boolean_binop_def(Cmp(CmpOperator::NE), &ty, |scope, lhs, rhs| { |         intrinsics.push(boolean_binop_def(Cmp(CmpOperator::NE), &ty, |scope, lhs, rhs| { | ||||||
|             scope.block.build(Instr::FCmp(CmpPredicate::NE, lhs, rhs)).unwrap() |             scope.block.build(Instr::FCmp(CmpPredicate::NE, lhs, rhs)).unwrap() | ||||||
|         })); |         })); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user