[all-commits] [llvm/llvm-project] 138672: [AVR] Remove unsigned <= 0 checks. NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri May 22 04:29:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1386728fc2ff8ea064ef82c2e52d2aa208f71891
      https://github.com/llvm/llvm-project/commit/1386728fc2ff8ea064ef82c2e52d2aa208f71891
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    M llvm/lib/Target/AVR/AVRInstrInfo.td

  Log Message:
  -----------
  [AVR] Remove unsigned <= 0 checks. NFCI.

D77207 changed the bounds checks resulting in tests for positive unsigned values - dropping the superfluous check to fix gcc+Werror "error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]" warning.




More information about the All-commits mailing list