Skip to content

Commit

Permalink
apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
VyacheslavLevytskyy committed Dec 5, 2023
1 parent fec00b0 commit 8ee2011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SPIRV/SPIRVWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,7 @@ LLVMToSPIRVBase::transValueWithoutDecoration(Value *V, SPIRVBasicBlock *BB,
}

if (CmpInst *Cmp = dyn_cast<CmpInst>(V)) {
if(Cmp->getPredicate() == CmpInst::Predicate::FCMP_FALSE)
if (Cmp->getPredicate() == CmpInst::Predicate::FCMP_FALSE)
return mapValue(V, BM->addConstant(BM->addBoolType(), 0));
SPIRVInstruction *BI = transCmpInst(Cmp, BB);
return mapValue(V, BI);
Expand Down

0 comments on commit 8ee2011

Please sign in to comment.