[PATCH] D95878: [AMDGPU]: Fixes an invalid clamp selection pattern.

Thomas Symalla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 08:19:11 PST 2021


tsymalla added a subscriber: Flakebi.
tsymalla added a comment.

I extracted the corresponding parts into a separate lambda and improved the logic to only apply the combine in the corresponding cases where either a min-max or max-min pattern exists in the MIR.
As @Flakebi reverted the changes to prevent the sanitizer from failing, I re-added the changes to this revision.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95878/new/

https://reviews.llvm.org/D95878



More information about the llvm-commits mailing list