[PATCH] D25803: [AMDGPU] Promote udiv/sdiv (i1, i16] operations to i32

Konstantin Zhuravlyov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 09:31:37 PDT 2016

kzhuravl abandoned this revision.
kzhuravl added a comment.

Handled in https://reviews.llvm.org/D25699

Comment at: lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp:200-202
-  if (I.getOpcode() == Instruction::SDiv ||
-      I.getOpcode() == Instruction::UDiv)
-    return false;
tstellarAMD wrote:
> I think we should be letting the SelectionDAG handle this, which is what this patch does: https://reviews.llvm.org/D25699
Ok, I was not aware of that one.


More information about the llvm-commits mailing list