[all-commits] [llvm/llvm-project] 457786: [SCEVExpander] Clarify absence of no-op casts (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Sep 22 00:40:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45778602f4cff8597c6488fa42200c0010d1e259
      https://github.com/llvm/llvm-project/commit/45778602f4cff8597c6488fa42200c0010d1e259
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  [SCEVExpander] Clarify absence of no-op casts (NFC)

Remove all the expandCodeFor() uses that specify an explicit type,
as well as InsertNoopCastOfTo() calls and most uses of
getEffectiveSCEVType().

The only place where no-op casts can now be inserted are public
expandCodeFor() uses.




More information about the All-commits mailing list