[PATCH] D77090: AMDGPU/GlobalISel: Change intrinsic ID for _L to _LZ opt

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 02:45:31 PDT 2020


Flakebi added a comment.

What is the reason to do this during legalization?
Could we look for a constant zero argument during instruction selection?

Then we could also remove the lz variants of the intrinsics and simply encode this as a constant zero argument.


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

https://reviews.llvm.org/D77090





More information about the llvm-commits mailing list