diff options
author | Valentin Clement <clementval@gmail.com> | 2022-03-15 22:52:36 +0100 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2022-03-15 22:56:48 +0100 |
commit | 7783de7fe32ad852b1921a2d2d0ae49b160865b1 (patch) | |
tree | a7531f354fcadd721463bde988e9b9f4c83ec1d4 | |
parent | ee2c6cd9069fe0d8e7386ce53300e7645e4db792 (diff) | |
download | llvm-7783de7fe32ad852b1921a2d2d0ae49b160865b1.zip llvm-7783de7fe32ad852b1921a2d2d0ae49b160865b1.tar.gz llvm-7783de7fe32ad852b1921a2d2d0ae49b160865b1.tar.bz2 |
[flang] Move null entry at the correct place
This is a fix for failing buildbot
https://lab.llvm.org/buildbot/#/builders/172/builds/9652
-rw-r--r-- | flang/lib/Lower/IntrinsicCall.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/flang/lib/Lower/IntrinsicCall.cpp b/flang/lib/Lower/IntrinsicCall.cpp index efdfe95..b04224e 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}}}, |