[all-commits] [llvm/llvm-project] e2f009: [AMDGPU] performCvtF32UByteNCombine - revisit node...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Mar 4 03:27:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e2f00938008a20ba285880f7bee4f68bd155f9d9
      https://github.com/llvm/llvm-project/commit/e2f00938008a20ba285880f7bee4f68bd155f9d9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll

  Log Message:
  -----------
  [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.


  Commit: 94885431e19687dcc8f2e2f23932b4a6d170b78d
      https://github.com/llvm/llvm-project/commit/94885431e19687dcc8f2e2f23932b4a6d170b78d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M clang/lib/Sema/SemaExprCXX.cpp

  Log Message:
  -----------
  Fix some getAs/castAs null dereference static analyzer warnings.

Use castAs if we know the cast should succeed (or we're dereferencing without check), the castAs will assert as well so we can remove local non-null asserts.


Compare: https://github.com/llvm/llvm-project/compare/2a70db245d6e...94885431e196


More information about the All-commits mailing list