[flang-commits] [flang] [flang] Fixed LIT test after re-enabling `noalias`. (PR #156109)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Fri Aug 29 14:35:07 PDT 2025


https://github.com/vzakhari created https://github.com/llvm/llvm-project/pull/156109

None

>From 1fc8999e65962468f3bdcdd984e403f5c0a2fdef Mon Sep 17 00:00:00 2001
From: Slava Zakharin <szakharin at nvidia.com>
Date: Fri, 29 Aug 2025 13:47:10 -0700
Subject: [PATCH] [flang] Fixed LIT test after re-enabling `noalias`.

---
 flang/test/Integration/complex-div-to-llvm-kind16.f90 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flang/test/Integration/complex-div-to-llvm-kind16.f90 b/flang/test/Integration/complex-div-to-llvm-kind16.f90
index 887a7972dc1be..de67942b15f86 100644
--- a/flang/test/Integration/complex-div-to-llvm-kind16.f90
+++ b/flang/test/Integration/complex-div-to-llvm-kind16.f90
@@ -1,8 +1,8 @@
 ! Test lowering complex division to llvm ir according to options
 
 ! REQUIRES: flang-supports-f128-math
-! RUN: %flang -fcomplex-arithmetic=improved -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,IMPRVD
-! RUN: %flang -fcomplex-arithmetic=basic -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,BASIC
+! RUN: %flang -fcomplex-arithmetic=improved -mmlir --force-no-alias=false -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,IMPRVD
+! RUN: %flang -fcomplex-arithmetic=basic -mmlir --force-no-alias=false -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,BASIC
 
 
 ! CHECK-LABEL: @div_test_quad



More information about the flang-commits mailing list