Skip to content

Commit

Permalink
Merge pull request #163 from vext01/ptr-icmp
Browse files Browse the repository at this point in the history
Serialise pointer icmp.
  • Loading branch information
ptersilie authored May 20, 2024
2 parents cb27501 + 1d89fea commit e60df64
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 e60df64

Please sign in to comment.