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 0fdcad1 commit 1b3ac61
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 @@ -2046,7 +2046,7 @@ LLVMToSPIRVBase::transValueWithoutDecoration(Value *V, SPIRVBasicBlock *BB,

if (CmpInst *Cmp = dyn_cast<CmpInst>(V)) {
if (Cmp->getPredicate() == CmpInst::Predicate::FCMP_FALSE) {
auto CmpTy = Cmp->getType();
auto *CmpTy = Cmp->getType();
SPIRVValue *FalseValue = CmpTy->isVectorTy()
? BM->addNullConstant(transType(CmpTy))
: BM->addConstant(BM->addBoolType(), 0);
Expand Down

0 comments on commit 1b3ac61

Please sign in to comment.