[all-commits] [llvm/llvm-project] 1b0ec3: [Flang] Give fir.if RegionBranchOpInterface
SachaBallantyne via All-commits
all-commits at lists.llvm.org
Thu Mar 9 04:19:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b0ec3981c7eeecaf478997e7d94d4d0a8d7ad60
https://github.com/llvm/llvm-project/commit/1b0ec3981c7eeecaf478997e7d94d4d0a8d7ad60
Author: Sacha Ballantyne <Sacha.Ballantyne at arm.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Transforms/stack-arrays.fir
Log Message:
-----------
[Flang] Give fir.if RegionBranchOpInterface
fir.if currently isn't treated as a 'proper' conditional, so passes are unable to determine which regions are executed at times.
This patch gives fir.if this interface, which shouldn't do too much on its own but should allow future changes to take advantage
for various purposes
Reviewed By: vzakhari
Differential Revision: https://reviews.llvm.org/D145165
More information about the All-commits
mailing list