[clang] [flang] [Flang][Driver] Enable the global-isel option (PR #177188)
Tarun Prabhu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 21 08:16:08 PST 2026
================
@@ -0,0 +1,8 @@
+! -flto passes along an explicit GlobalISel flag.
+! RUN: %flang --target=aarch64-linux-gnu -### %s -flto -fglobal-isel 2> %t
+! RUN: FileCheck --check-prefix=CHECK-GISEL < %t %s
----------------
tarunprabhu wrote:
Could stderr just be piped to FileCheck here? If so, our SSD's might appreciate it ;-)
```suggestion
! RUN: %flang --target=aarch64-linux-gnu -### %s -flto -fglobal-isel 2>&1 \
! RUN: | FileCheck --check-prefix=CHECK-GISEL %s
```
https://github.com/llvm/llvm-project/pull/177188
More information about the cfe-commits
mailing list