[flang-commits] [flang] [flang] Conditional expressions lowering: use fir.if SSA results for trivial scalar types (PR #192338)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Wed Apr 15 17:02:37 PDT 2026
================
----------------
eugeneepshteyn wrote:
Please add a test for unsigned lowering too:
```
! RUN: %flang_fc1 -emit-hlfir -funsigned -o - %s | FileCheck %s
subroutine test_unsigned(flag, x, y)
logical :: flag
unsigned :: x, y, result
result = (flag ? x : y)
end subroutine
...
```
https://github.com/llvm/llvm-project/pull/192338
More information about the flang-commits
mailing list