[PATCH] D25121: [AMDGPU] Promote uniform i16 bitreverse intrinsic to i32

Konstantin Zhuravlyov via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 2 23:21:42 PDT 2016


kzhuravl added inline comments.


> arsenm wrote in AMDGPUCodeGenPrepare.cpp:288
> This should be able to handle any bitwidth < 32. We will want this for the < i16 types that will want to be legalized to i16 as well

I am working on handling smaller types in instructions and bitereverse in a separate patch, it is almost ready (I need to clean up and update doxygen). smaller types patch fixes a bunch of test failures on Wei's fp16 branch.

> arsenm wrote in amdgpu-codegenprepare-i16-to-i32.ll:433
> Should have a test with smaller bitwidth

In a separate patch.

https://reviews.llvm.org/D25121





More information about the llvm-commits mailing list