[all-commits] [llvm/llvm-project] e35c91: [RISCV][NFC] Fix gcc -Wparentheses warning in RISC...

Liao Chunyu via All-commits all-commits at lists.llvm.org
Mon Jan 8 03:43:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e35c912039a644a2cc44cf88f451f7a2cdc455d9
      https://github.com/llvm/llvm-project/commit/e35c912039a644a2cc44cf88f451f7a2cdc455d9
  Author: Liao Chunyu <chunyu at iscas.ac.cn>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

  Log Message:
  -----------
  [RISCV][NFC] Fix gcc -Wparentheses warning in RISCVISelDAGToDAG.cpp
warning:
RISCVISelDAGToDAG.cpp:767: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  767 |          AM == ISD::POST_INC && "Unexpected addressing mode");




More information about the All-commits mailing list