[all-commits] [llvm/llvm-project] 255b55: [GlobalOpt] Use cast instead of dyn_cast. NFC (#14...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jun 18 01:36:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 255b55c602f73964262893859a543a115b278e21
      https://github.com/llvm/llvm-project/commit/255b55c602f73964262893859a543a115b278e21
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

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

  Log Message:
  -----------
  [GlobalOpt] Use cast instead of dyn_cast. NFC (#144634)

The dyn_cast was not checked for null, and the cast is guaranteed to
succeed by an earlier check.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list