@@ -3796,32 +3796,31 @@ void Verifier::visitCallBase(CallBase &Call) {
37963796 " Multiple \" clang.arc.attachedcall\" operand bundles" , Call);
37973797 FoundAttachedCallBundle = true ;
37983798 verifyAttachedCallBundle (Call, BU);
3799- } else if (Tag == LLVMContext::OB_fpe_control ) {
3800- Check (!FoundFpeControlBundle, " Multiple fpe .control operand bundles" ,
3799+ } else if (Tag == LLVMContext::OB_fp_control ) {
3800+ Check (!FoundFpeControlBundle, " Multiple fp .control operand bundles" ,
38013801 Call);
38023802 Check (BU.Inputs .size () == 1 ,
3803- " Expected exactly one fpe .control bundle operand" , Call);
3803+ " Expected exactly one fp .control bundle operand" , Call);
38043804 auto *V = dyn_cast<MetadataAsValue>(BU.Inputs .front ());
3805- Check (V, " Value of fpe .control bundle operand must be a metadata" , Call);
3805+ Check (V, " Value of fp .control bundle operand must be a metadata" , Call);
38063806 auto *MDS = dyn_cast<MDString>(V->getMetadata ());
3807- Check (MDS, " Value of fpe .control bundle operand must be a string" , Call);
3807+ Check (MDS, " Value of fp .control bundle operand must be a string" , Call);
38083808 auto RM = convertStrToRoundingMode (MDS->getString (), true );
3809- Check (
3810- RM.has_value (),
3811- " Value of fpe.control bundle operand is not a correct rounding mode" ,
3812- Call);
3809+ Check (RM.has_value (),
3810+ " Value of fp.control bundle operand is not a correct rounding mode" ,
3811+ Call);
38133812 FoundFpeControlBundle = true ;
3814- } else if (Tag == LLVMContext::OB_fpe_except ) {
3815- Check (!FoundFpeExceptBundle, " Multiple fpe .except operand bundles" , Call);
3813+ } else if (Tag == LLVMContext::OB_fp_except ) {
3814+ Check (!FoundFpeExceptBundle, " Multiple fp .except operand bundles" , Call);
38163815 Check (BU.Inputs .size () == 1 ,
3817- " Expected exactly one fpe .except bundle operand" , Call);
3816+ " Expected exactly one fp .except bundle operand" , Call);
38183817 auto *V = dyn_cast<MetadataAsValue>(BU.Inputs .front ());
3819- Check (V, " Value of fpe .except bundle operand must be a metadata" , Call);
3818+ Check (V, " Value of fp .except bundle operand must be a metadata" , Call);
38203819 auto *MDS = dyn_cast<MDString>(V->getMetadata ());
3821- Check (MDS, " Value of fpe .except bundle operand must be a string" , Call);
3820+ Check (MDS, " Value of fp .except bundle operand must be a string" , Call);
38223821 auto EB = convertStrToExceptionBehavior (MDS->getString (), true );
38233822 Check (EB.has_value (),
3824- " Value of fpe .except bundle operand is not a correct exception "
3823+ " Value of fp .except bundle operand is not a correct exception "
38253824 " behavior" ,
38263825 Call);
38273826 FoundFpeExceptBundle = true ;
@@ -3867,7 +3866,7 @@ void Verifier::verifyConstrainedInstrinsicCall(const CallBase &CB) {
38673866 // operand bundles.
38683867 if (std::optional<RoundingMode> RM = getRoundingModeArg (CB)) {
38693868 RoundingMode Rounding = *RM;
3870- auto RoundingBundle = CB.getOperandBundle (LLVMContext::OB_fpe_control );
3869+ auto RoundingBundle = CB.getOperandBundle (LLVMContext::OB_fp_control );
38713870 Check (RoundingBundle,
38723871 " Constrained intrinsic has a rounding argument but the call does not" ,
38733872 CB);
@@ -3885,7 +3884,7 @@ void Verifier::verifyConstrainedInstrinsicCall(const CallBase &CB) {
38853884
38863885 if (std::optional<fp::ExceptionBehavior> EB = getExceptionBehaviorArg (CB)) {
38873886 fp::ExceptionBehavior Excepts = *EB;
3888- auto ExceptionBundle = CB.getOperandBundle (LLVMContext::OB_fpe_except );
3887+ auto ExceptionBundle = CB.getOperandBundle (LLVMContext::OB_fp_except );
38893888 Check (ExceptionBundle,
38903889 " Constrained intrinsic has an exception handling argument but the "
38913890 " call does not" ,
0 commit comments