@@ -3796,32 +3796,31 @@ void Verifier::visitCallBase(CallBase &Call) {
3796
3796
"Multiple \"clang.arc.attachedcall\" operand bundles", Call);
3797
3797
FoundAttachedCallBundle = true;
3798
3798
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",
3801
3801
Call);
3802
3802
Check(BU.Inputs.size() == 1,
3803
- "Expected exactly one fpe .control bundle operand", Call);
3803
+ "Expected exactly one fp .control bundle operand", Call);
3804
3804
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);
3806
3806
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);
3808
3808
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);
3813
3812
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);
3816
3815
Check(BU.Inputs.size() == 1,
3817
- "Expected exactly one fpe .except bundle operand", Call);
3816
+ "Expected exactly one fp .except bundle operand", Call);
3818
3817
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);
3820
3819
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);
3822
3821
auto EB = convertStrToExceptionBehavior(MDS->getString(), true);
3823
3822
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 "
3825
3824
"behavior",
3826
3825
Call);
3827
3826
FoundFpeExceptBundle = true;
@@ -3867,7 +3866,7 @@ void Verifier::verifyConstrainedInstrinsicCall(const CallBase &CB) {
3867
3866
// operand bundles.
3868
3867
if (std::optional<RoundingMode> RM = getRoundingModeArg(CB)) {
3869
3868
RoundingMode Rounding = *RM;
3870
- auto RoundingBundle = CB.getOperandBundle(LLVMContext::OB_fpe_control );
3869
+ auto RoundingBundle = CB.getOperandBundle(LLVMContext::OB_fp_control );
3871
3870
Check(RoundingBundle,
3872
3871
"Constrained intrinsic has a rounding argument but the call does not",
3873
3872
CB);
@@ -3885,7 +3884,7 @@ void Verifier::verifyConstrainedInstrinsicCall(const CallBase &CB) {
3885
3884
3886
3885
if (std::optional<fp::ExceptionBehavior> EB = getExceptionBehaviorArg(CB)) {
3887
3886
fp::ExceptionBehavior Excepts = *EB;
3888
- auto ExceptionBundle = CB.getOperandBundle(LLVMContext::OB_fpe_except );
3887
+ auto ExceptionBundle = CB.getOperandBundle(LLVMContext::OB_fp_except );
3889
3888
Check(ExceptionBundle,
3890
3889
"Constrained intrinsic has an exception handling argument but the "
3891
3890
"call does not",
0 commit comments