[all-commits] [llvm/llvm-project] 614cd7: [Flang] Add Minloc to simplify intrinsics pass
SachaBallantyne via All-commits
all-commits at lists.llvm.org
Mon Feb 27 03:37:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 614cd721e1c379ab6926687fd81167bd8f9b0179
https://github.com/llvm/llvm-project/commit/614cd721e1c379ab6926687fd81167bd8f9b0179
Author: Sacha Ballantyne <Sacha.Ballantyne at arm.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
M flang/test/Transforms/simplifyintrinsics.fir
Log Message:
-----------
[Flang] Add Minloc to simplify intrinsics pass
This patch adds minloc to the simplify intrinsics pass, supporting calls with KIND or MASK arguments while calls which have BACK, DIM or have a CHARACTER input array are rejected. This patch is targeting exchange2, and in benchmarks provides a ~11% improvement in performance.
Also included are some minor style changes / cleanup in simplifyIntrinsics.cpp.
Reviewed By: vzakhari
Differential Revision: https://reviews.llvm.org/D144103
More information about the All-commits
mailing list