From 1d89fea324511c1029696f4d3e35523dd516280b Mon Sep 17 00:00:00 2001 From: Edd Barrett Date: Fri, 17 May 2024 16:25:29 +0100 Subject: [PATCH] Serialise pointer icmp. --- llvm/lib/YkIR/YkIRWriter.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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; }