[llvm] [AMDGPU] Fix OpenCL conformance test failures for ctlz. (PR #83170)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 06:31:24 PDT 2024


jayfoad wrote:

> The version with the shift works fine for ctlz_zero_undef (and it would still be good to generate it since it's usually shorter) but not ctlz.

See #83039 which optimizes generic codegen for ctlz_zero_undef to use the version with the shift.

https://github.com/llvm/llvm-project/pull/83170


More information about the llvm-commits mailing list