#include "mkql_builtins_impl.h" // Y_IGNORE namespace NKikimr { namespace NMiniKQL { namespace { template struct TBitXor : public TSimpleArithmeticBinary> { static TOutput Do(TOutput left, TOutput right) { return left ^ right; } #ifndef MKQL_DISABLE_CODEGEN static Value* Gen(Value* left, Value* right, const TCodegenContext&, BasicBlock*& block) { return BinaryOperator::CreateXor(left, right, "xor", block); } #endif }; } void RegisterBitXor(IBuiltinFunctionRegistry& registry) { RegisterBinaryUnsignedFunctionOpt(registry, "BitXor"); } } // namespace NMiniKQL } // namespace NKikimr