Skip to content

Commit

Permalink
Serialise pointer icmp.
Browse files Browse the repository at this point in the history
  • Loading branch information
vext01 committed May 20, 2024
1 parent cb27501 commit 1d89fea
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions llvm/lib/YkIR/YkIRWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1d89fea

Please sign in to comment.