[flang-commits] [flang] [flang] Simplify the comparison of characters (PR #154593)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Fri Sep 5 11:12:26 PDT 2025


================
@@ -0,0 +1,173 @@
+// RUN: fir-opt %s --expression-simplification | FileCheck %s
----------------
luporl wrote:

Pattern matching is now much simpler, with the new `hlfir.cmpchar` and `hlfir.char_trim` operations, so a second test doesn't seem necessary anymore.

https://github.com/llvm/llvm-project/pull/154593


More information about the flang-commits mailing list