[all-commits] [llvm/llvm-project] 8801a5: SystemZAsmPrinter.cpp: Fix a warning. [-Wunused-va...

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Fri May 20 15:55:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8801a5d185fafcb8c03f71ceb717b84c2f08b220
      https://github.com/llvm/llvm-project/commit/8801a5d185fafcb8c03f71ceb717b84c2f08b220
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2022-05-21 (Sat, 21 May 2022)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp

  Log Message:
  -----------
  SystemZAsmPrinter.cpp: Fix a warning. [-Wunused-variable]

This could be rewritten as `!ZFL->hasFP(*MF) || FrameReg < 16`
but I thought better to clarify it is `AllocaReg`.




More information about the All-commits mailing list