[all-commits] [llvm/llvm-project] 274359: [OpenMPOpt] Use cast<> instead of dyn_cast<> to av...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jan 8 05:51:38 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 274359cf099407172fee7f0bd704b8ff41d826ec
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-08 (Sat, 08 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp

  Log Message:
  [OpenMPOpt] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr. NFC

More information about the All-commits mailing list