[all-commits] [llvm/llvm-project] cdead4: [PowerPC][NFC] Fix an assert that cannot trip from...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Sat Jul 25 17:33:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cdead4f89c0eecf11f50092bc088e3a9c6511825
      https://github.com/llvm/llvm-project/commit/cdead4f89c0eecf11f50092bc088e3a9c6511825
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

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

  Log Message:
  -----------
  [PowerPC][NFC] Fix an assert that cannot trip from 7d076e19e31a

I mixed up the precedence of operators in the assert and thought I
had it right since there was no compiler warning. This just
adds the parentheses in the expression as needed.




More information about the All-commits mailing list