[flang-commits] [flang] 7783de7 - [flang] Move null entry at the correct place
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Tue Mar 15 14:56:54 PDT 2022
Author: Valentin Clement
Date: 2022-03-15T22:56:48+01:00
New Revision: 7783de7fe32ad852b1921a2d2d0ae49b160865b1
URL: https://github.com/llvm/llvm-project/commit/7783de7fe32ad852b1921a2d2d0ae49b160865b1
DIFF: https://github.com/llvm/llvm-project/commit/7783de7fe32ad852b1921a2d2d0ae49b160865b1.diff
LOG: [flang] Move null entry at the correct place
This is a fix for failing buildbot
https://lab.llvm.org/buildbot/#/builders/172/builds/9652
Added:
Modified:
flang/lib/Lower/IntrinsicCall.cpp
Removed:
################################################################################
diff --git a/flang/lib/Lower/IntrinsicCall.cpp b/flang/lib/Lower/IntrinsicCall.cpp
index efdfe9523fd23..b04224e910c4a 100644
--- a/flang/lib/Lower/IntrinsicCall.cpp
+++ b/flang/lib/Lower/IntrinsicCall.cpp
@@ -590,8 +590,6 @@ static constexpr IntrinsicHandler handlers[]{
{"lgt", &I::genCharacterCompare<mlir::arith::CmpIPredicate::sgt>},
{"lle", &I::genCharacterCompare<mlir::arith::CmpIPredicate::sle>},
{"llt", &I::genCharacterCompare<mlir::arith::CmpIPredicate::slt>},
- {"min", &I::genExtremum<Extremum::Min, ExtremumBehavior::MinMaxss>},
- {"null", &I::genNull, {{{"mold", asInquired}}}, /*isElemental=*/false},
{"max", &I::genExtremum<Extremum::Max, ExtremumBehavior::MinMaxss>},
{"maxloc",
&I::genMaxloc,
@@ -622,6 +620,7 @@ static constexpr IntrinsicHandler handlers[]{
{"dim", asValue},
{"mask", asBox, handleDynamicOptional}}},
/*isElemental=*/false},
+ {"null", &I::genNull, {{{"mold", asInquired}}}, /*isElemental=*/false},
{"random_init",
&I::genRandomInit,
{{{"repeatable", asValue}, {"image_distinct", asValue}}},
More information about the flang-commits
mailing list