[PATCH] D90052: AMDGPU/GlobalISel: Add clamp combine for IEEE=false

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 03:49:06 PDT 2020


foad added a comment.

Is it possible to separate this into two different combines:

1. min(max(...)) or max(min(...)) -> med(x, K0, K1 <https://reviews.llvm.org/K1>)
2. med(x, 0.0, 1.0) -> clamp(x)

?


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

https://reviews.llvm.org/D90052



More information about the llvm-commits mailing list