[PATCH] D104408: AMDGPU/GlobalISel: Treat undef as KnownNeverNaN

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 12:36:17 PDT 2021


arsenm added a comment.

In D104408#2822733 <https://reviews.llvm.org/D104408#2822733>, @Petar.Avramovic wrote:

> This is required to match splat that was padded with undef into clamp D90052 <https://reviews.llvm.org/D90052>. When undef is used to pad with element that does not affect the result we interpret it in a way to clamp other elements.

This at least needs a parameter to ignore undefs. It's not really true to the name of the function otherwise


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

https://reviews.llvm.org/D104408



More information about the llvm-commits mailing list