[all-commits] [llvm/llvm-project] fe182d: [LoopUnrollAnalyzer] Use constant folding API for ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Aug 28 02:54:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe182ddf1f3daf55a86bbabeff40dda109bbbe91
      https://github.com/llvm/llvm-project/commit/fe182ddf1f3daf55a86bbabeff40dda109bbbe91
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
    A llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-load-const.ll

  Log Message:
  -----------
  [LoopUnrollAnalyzer] Use constant folding API for loads

Use ConstantFoldLoadFromConst() instead of a partial re-implementation.
This makes the code slightly more generic by not depending on the
exact structure of the constant.



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