[all-commits] [llvm/llvm-project] da4822: [PowerPC][NFC] Ignore unused var in release builds.

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Thu Nov 11 08:59:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da4822f6c81597d9d6bf68c11d7fd98d37c1b1ea
      https://github.com/llvm/llvm-project/commit/da4822f6c81597d9d6bf68c11d7fd98d37c1b1ea
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

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

  Log Message:
  -----------
  [PowerPC][NFC] Ignore unused var in release builds.

Note we can't inline this call into assert because `isIntS16Immediate` has a side effect. But we only look at the return value in asserts builds.




More information about the All-commits mailing list