[all-commits] [llvm/llvm-project] 0f86e2: [flang] Avoid optimizing min and max if not valid ...
Miguel Saldivar via All-commits
all-commits at lists.llvm.org
Tue Apr 15 02:15:55 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f86e2395e4f22bf3cb05e38be05b90575066829
https://github.com/llvm/llvm-project/commit/0f86e2395e4f22bf3cb05e38be05b90575066829
Author: Miguel Saldivar <miguel.saldivar at hpe.com>
Date: 2025-04-15 (Tue, 15 Apr 2025)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
A flang/test/HLFIR/minval-maxval-issue-134308.fir
Log Message:
-----------
[flang] Avoid optimizing min and max if not valid type (#134972)
In `makeMinMaxInitValGenerator` it explicitly checks for only
`FloatType` and `IntegerType`, so we shouldn't match if we don't have
either of those types.
Fix for #134308
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list