diff --git a/llvm/lib/YkIR/YkIRWriter.cpp b/llvm/lib/YkIR/YkIRWriter.cpp index 991ef657bd4d7b..4407649a7e9430 100644 --- a/llvm/lib/YkIR/YkIRWriter.cpp +++ b/llvm/lib/YkIR/YkIRWriter.cpp @@ -871,11 +871,8 @@ class YkIRWriter { void serialiseICmpInst(ICmpInst *I, FuncLowerCtxt &FLCtxt, unsigned BBIdx, unsigned &InstIdx) { - // We don't support: - // - vectors - // - pointer comparison - if (I->getOperand(0)->getType()->isVectorTy() || - I->getOperand(0)->getType()->isPointerTy()) { + // We don't support vector icmp. + if (I->getOperand(0)->getType()->isVectorTy()) { serialiseUnimplementedInstruction(I, FLCtxt, BBIdx, InstIdx); return; }