[all-commits] [llvm/llvm-project] 5c5c83: [PowerPC] Fix Wparentheses warning

Jim Lin via All-commits all-commits at lists.llvm.org
Thu Nov 20 21:48:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c5c83d8bc7172b16631ed874482568444e0625a
      https://github.com/llvm/llvm-project/commit/5c5c83d8bc7172b16631ed874482568444e0625a
  Author: Jim Lin <jim at andestech.com>
  Date:   2025-11-21 (Fri, 21 Nov 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp

  Log Message:
  -----------
  [PowerPC] Fix Wparentheses warning

PPCISelLowering.cpp:15567:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
15567 |          CC == ISD::SETEQ && "CC mus be ISD::SETNE or ISD::SETEQ");
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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