[AMDGPU] performCvtF32UByteNCombine - revisit node after src operand simplification.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 4 Mar 2020 10:53:27 +0000 (10:53 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 4 Mar 2020 11:25:50 +0000 (11:25 +0000)
commite2f00938008a20ba285880f7bee4f68bd155f9d9
treece18d7d4a1a710ebd4bd38e3c1c9ad8ba098cc81
parent2a70db245d6ea19e5614c7c22660de1a5dd8e898
[AMDGPU] performCvtF32UByteNCombine - revisit node after src operand simplification.

If SimplifyDemandedBits succeeds in simplifying the byte src, add the CVT_F32_UBYTE node back to the worklist as we might be able to simplify further.

Yet another step towards removing SelectionDAG::GetDemandedBits.
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll