[all-commits] [llvm/llvm-project] 0805e4: AMDGPUPrintfRuntimeBinding - don't dereference a d...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 28 04:43:22 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0805e40a94d79e22d62f53bc308e0c27772bae44
      https://github.com/llvm/llvm-project/commit/0805e40a94d79e22d62f53bc308e0c27772bae44
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp

  Log Message:
  -----------
  AMDGPUPrintfRuntimeBinding - don't dereference a dyn_cast<> pointer. NFCI.

We dereference the dyn_cast<> in all paths - use cast<> to silence the clang static analyzer warning.




More information about the All-commits mailing list