[all-commits] [llvm/llvm-project] aabca2: [SCEV] Cleanup doesIVOverflowOnX checks [NFC]

Philip Reames via All-commits all-commits at lists.llvm.org
Tue May 25 10:12:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aabca2d1da11aa3b832ce499acccca093236aac3
      https://github.com/llvm/llvm-project/commit/aabca2d1da11aa3b832ce499acccca093236aac3
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Cleanup doesIVOverflowOnX checks [NFC]

Stylistic changes only.
1) Don't pass a parameter just to do an early exit.
2) Use a name which matches actual behavior.




More information about the All-commits mailing list