[flang-commits] [flang] c3ba885 - [flang] Fix intrinsic entry

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Tue Mar 15 14:40:29 PDT 2022


Author: Valentin Clement
Date: 2022-03-15T22:40:11+01:00
New Revision: c3ba885dd70b4371acd11ec5ddb0f1fcf25bd1d1

URL: https://github.com/llvm/llvm-project/commit/c3ba885dd70b4371acd11ec5ddb0f1fcf25bd1d1
DIFF: https://github.com/llvm/llvm-project/commit/c3ba885dd70b4371acd11ec5ddb0f1fcf25bd1d1.diff

LOG: [flang] Fix intrinsic entry

Added: 
    

Modified: 
    flang/lib/Lower/IntrinsicCall.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Lower/IntrinsicCall.cpp b/flang/lib/Lower/IntrinsicCall.cpp
index 929d280872571..efdfe9523fd23 100644
--- a/flang/lib/Lower/IntrinsicCall.cpp
+++ b/flang/lib/Lower/IntrinsicCall.cpp
@@ -621,6 +621,7 @@ static constexpr IntrinsicHandler handlers[]{
      {{{"array", asBox},
        {"dim", asValue},
        {"mask", asBox, handleDynamicOptional}}},
+     /*isElemental=*/false},
     {"random_init",
      &I::genRandomInit,
      {{{"repeatable", asValue}, {"image_distinct", asValue}}},


        


More information about the flang-commits mailing list