[all-commits] [llvm/llvm-project] 78db4e: [NFC][IRCE] Don't require LoopStructure to determi...

Jan Ječmen via All-commits all-commits at lists.llvm.org
Wed Dec 4 02:09:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78db4e9f7b93953e425b3b69636925a557bff7eb
      https://github.com/llvm/llvm-project/commit/78db4e9f7b93953e425b3b69636925a557bff7eb
  Author: Jan Ječmen <JanJecmen at users.noreply.github.com>
  Date:   2024-12-04 (Wed, 04 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp

  Log Message:
  -----------
  [NFC][IRCE] Don't require LoopStructure to determine IRCE profitability (#116384)

This refactoring hoists the profitability check earlier in the pipeline,
so that for loops that are not profitable to transform there is no
iteration over the basic blocks or LoopStructure computation.

Motivated by PR #104659 that tweaks how the profitability of individual
branches is evaluated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list