File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2165,11 +2165,11 @@ class CallBase : public Instruction {
21652165 return false ;
21662166 }
21672167
2168- // / Return rounding mode specified by operand bundles .
2168+ // / Return rounding mode specified for this call .
21692169 RoundingMode getRoundingMode () const ;
21702170
2171- // / Return exception behavior specified by operand bundles .
2172- std::optional< fp::ExceptionBehavior> getExceptionBehavior () const ;
2171+ // / Return exception behavior specified for this call .
2172+ fp::ExceptionBehavior getExceptionBehavior () const ;
21732173
21742174 // / Used to keep track of an operand bundle. See the main comment on
21752175 // / OperandBundleUser above.
Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ RoundingMode CallBase::getRoundingMode() const {
647647 return RoundingMode::NearestTiesToEven;
648648}
649649
650- std::optional< fp::ExceptionBehavior> CallBase::getExceptionBehavior () const {
650+ fp::ExceptionBehavior CallBase::getExceptionBehavior () const {
651651 // Try determining exception behavior from FP bundle.
652652 std::optional<fp::ExceptionBehavior> EB;
653653 if (auto ExceptionBundle = getOperandBundle (LLVMContext::OB_fp_except)) {
You can’t perform that action at this time.
0 commit comments