diff options
author | Pete Steinfeld <47540744+psteinfeld@users.noreply.github.com> | 2024-07-02 10:46:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 10:46:15 -0700 |
commit | bf5a2a99b186216e4126dae3b16851f16c50603f (patch) | |
tree | bde167decf11a0be4fabea38aeb9da2c4fdfeda6 | |
parent | ebdb6f4ef4ba79eb73589fc96a64ce2c6994935d (diff) | |
download | llvm-bf5a2a99b186216e4126dae3b16851f16c50603f.zip llvm-bf5a2a99b186216e4126dae3b16851f16c50603f.tar.gz llvm-bf5a2a99b186216e4126dae3b16851f16c50603f.tar.bz2 |
[flang] Fix build problem caused by #96807 (#97450)
I had erroneously used a bitwise '&' with boolean operands which caused
a warning on the ARM build. This change fixes that.
-rw-r--r-- | flang/lib/Evaluate/intrinsics-library.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/lib/Evaluate/intrinsics-library.cpp b/flang/lib/Evaluate/intrinsics-library.cpp index c3bd3a5..65636b9 100644 --- a/flang/lib/Evaluate/intrinsics-library.cpp +++ b/flang/lib/Evaluate/intrinsics-library.cpp @@ -807,7 +807,7 @@ static bool VerifyAtan2LikeArguments( template <ArgumentVerifierFunc... F> static bool CombineVerifiers( const std::vector<Expr<SomeType>> &args, FoldingContext &context) { - return (... & F(args, context)); + return (... && F(args, context)); } /// Define argument names to be used error messages when the intrinsic have |