[all-commits] [llvm/llvm-project] 50dd1d: [IPO] Fix operator precedence warning. NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Dec 7 10:28:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 50dd1dba6eb3a47b715cad68f92cd9bb41bb9163
      https://github.com/llvm/llvm-project/commit/50dd1dba6eb3a47b715cad68f92cd9bb41bb9163
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleContextTracker.cpp

  Log Message:
  -----------
  [IPO] Fix operator precedence warning. NFCI.

Check the entire assertion condition before && with the message.


  Commit: b6e847c396168e724ac6d2b98c52bca8df37b621
      https://github.com/llvm/llvm-project/commit/b6e847c396168e724ac6d2b98c52bca8df37b621
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] Cleanup by folding some single use VT.getScalarSizeInBits() calls into its comparison. NFCI.


  Commit: c86c024e10841c690c7120376c4555da019a2221
      https://github.com/llvm/llvm-project/commit/c86c024e10841c690c7120376c4555da019a2221
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp

  Log Message:
  -----------
  [X86] Fix static analyzer warnings. NFCI.

Replace '|' with '||' in condition, and fix case of SignedMode variable.


Compare: https://github.com/llvm/llvm-project/compare/50bff64158e9...c86c024e1084


More information about the All-commits mailing list