[all-commits] [llvm/llvm-project] b8d2b7: [SelectionDAGBuilder] Avoid const_cast on call to ...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jul 23 08:58:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8d2b775f2feada0016648d09c078838dedf11f6
      https://github.com/llvm/llvm-project/commit/b8d2b775f2feada0016648d09c078838dedf11f6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

  Log Message:
  -----------
  [SelectionDAGBuilder] Avoid const_cast on call to matchSelectPattern. NFC (#100053)

By making the LHS and RHS const pointers, we can use the const signature
of matchSelectPattern.



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