@@ -364,12 +364,16 @@ class OpLowerer {
364364 if (auto *EVI = dyn_cast<ExtractValueInst>(U.getUser ())) {
365365
366366 if (EVI->getNumIndices () != 1 )
367- return createStringError (std::errc::invalid_argument, (std::string (Intrin->getOpcodeName ()) + " has only 2 elements" ).c_str ());
367+ return createStringError (
368+ std::errc::invalid_argument,
369+ (std::string (Intrin->getOpcodeName ()) + " has only 2 elements" )
370+ .c_str ());
368371 EVI->setOperand (0 , Op);
369372 } else {
370- return make_error<StringError>(
371- (std::string (Intrin->getOpcodeName ()) + " use is not ExtractValueInst" ).c_str (),
372- inconvertibleErrorCode ());
373+ return make_error<StringError>((std::string (Intrin->getOpcodeName ()) +
374+ " use is not ExtractValueInst" )
375+ .c_str (),
376+ inconvertibleErrorCode ());
373377 }
374378 }
375379
@@ -827,8 +831,7 @@ class OpLowerer {
827831 // https://github.com/llvm/llvm-project/issues/113192 is fixed
828832 case Intrinsic::uadd_with_overflow:
829833 HasErrors |= replaceFunctionWithNamedStructOp (
830- F, OpCode::UAddc,
831- OpBuilder.getBinaryWithCarryType (M.getContext ()),
834+ F, OpCode::UAddc, OpBuilder.getBinaryWithCarryType (M.getContext ()),
832835 [&](CallInst *CI, CallInst *Op) {
833836 return replaceExtractElementTypeOfCallUsages (CI, Op);
834837 });
0 commit comments