[flang-commits] [flang] [flang] Simplify the comparison of characters (PR #154593)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Tue Aug 26 13:06:48 PDT 2025
================
@@ -0,0 +1,173 @@
+// RUN: fir-opt %s --expression-simplification | FileCheck %s
----------------
luporl wrote:
Yes, that's a good point, a second test would help ensure the generated HLFIR is in the format expected by this pass.
However, after `hlfir.cmpchar` lands, together with `hlfir.char_trim`, as suggested by @vzakhari, maybe it won't be necessary. I'll come back to this topic after these changes.
https://github.com/llvm/llvm-project/pull/154593
More information about the flang-commits
mailing list