[clang] [flang] [llvm] [flang] Diagnose and optionally repair missing MODULE procedure prefixes (PR #220783)

Eugene Epshteyn via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 07:28:11 PDT 2026


================
@@ -104,7 +104,7 @@ subroutine slogical(L)
       ! CHECK: cf.cond_br
       case (.true.)
         n8 = 2
-      ! CHECK-NOT: 888
+      ! CHECK-NOT: arith.constant 888
----------------
eugeneepshteyn wrote:

This narrowing is needed. The original `CHECK-NOT: 888` can match the mangled name of the source-file-name string, `_QQclX<hash>`, whose hash depends on the test's path. From one of my checkouts it fails at both `-O0` and `-O1`. The change is unrelated to this PR, though, so it might be cleaner as its own NFC PR.


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


More information about the cfe-commits mailing list