[all-commits] [llvm/llvm-project] 9b7cf5: [Flang] Allow Intrinsic simpification with min/max...
David Green via All-commits
all-commits at lists.llvm.org
Tue Jan 2 03:09:31 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9b7cf5bfb08b6e506216ef354dfd61adb15acbff
https://github.com/llvm/llvm-project/commit/9b7cf5bfb08b6e506216ef354dfd61adb15acbff
Author: David Green <david.green at arm.com>
Date: 2024-01-02 (Tue, 02 Jan 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
M flang/test/Transforms/simplifyintrinsics.fir
Log Message:
-----------
[Flang] Allow Intrinsic simpification with min/maxloc dim and scalar result (#76194)
This makes an adjustment to the existing fir minloc/maxloc generation
code to handle functions with a dim=1 that produce a scalar result. This
should allow us to get the same benefits as the existing generated
minmax reductions.
This is a recommit of #75820 with the typename added to the generated
function.
More information about the All-commits
mailing list