Skip to content

Commit

Permalink
[Flang] Add Minloc to simplify intrinsics pass
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Sacha Ballantyne authored and Sacha Ballantyne committed Feb 27, 2023
1 parent a18ce47 commit 614cd72
Show file tree
Hide file tree
Showing 2 changed files with 1,198 additions and 85 deletions.
Loading

0 comments on commit 614cd72

Please sign in to comment.