[flang-commits] [PATCH] D127805: Bitwise comparison intrinsics
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Jul 7 14:19:10 PDT 2022
klausler added a comment.
Please add tests for folding the bit comparison intrinsic functions.
================
Comment at: flang/lib/Evaluate/fold-logical.cpp:88
+ using IntT = typename std::decay_t<decltype(ix)>::Result;
+ if (auto *c{UnwrapConstantValue<IntT>(ix)}) {
+ constArgs[i] = ZeroExtend(*c);
----------------
"const auto *"
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127805/new/
https://reviews.llvm.org/D127805
More information about the flang-commits
mailing list