[all-commits] [llvm/llvm-project] 7f5b15: [LSR] Move normalization check to normalizeForPost...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jul 4 03:57:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f5b15ad150e59815fbd4adc3202c8720718896e
      https://github.com/llvm/llvm-project/commit/7f5b15ad150e59815fbd4adc3202c8720718896e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-07-04 (Tue, 04 Jul 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolutionNormalization.h
    M llvm/lib/Analysis/IVUsers.cpp
    M llvm/lib/Analysis/ScalarEvolutionNormalization.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/test/Transforms/LoopStrengthReduce/X86/postinc-iv-used-by-urem-and-udiv.ll

  Log Message:
  -----------
  [LSR] Move normalization check to normalizeForPostIncUse.

Move the logic added in 3a57152d85e1 to normalizeForPostIncUse to catch
additional un-invertable cases. This fixes another mis-compile pointed
out by @peixin in D153004.




More information about the All-commits mailing list