[all-commits] [llvm/llvm-project] 4812e9: [SCEV] Preserve flags in SCEVLoopGuardRewriter for...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jun 3 05:26:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4812e9a487735c8e2d86070f335b3364f9847711
      https://github.com/llvm/llvm-project/commit/4812e9a487735c8e2d86070f335b3364f9847711
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info.ll
    M llvm/test/Transforms/IndVarSimplify/trip-count-expansion-loop-guard-preserve-nsw.ll

  Log Message:
  -----------
  [SCEV] Preserve flags in SCEVLoopGuardRewriter for add and mul. (#91472)

SCEVLoopGuardRewriter only replaces operands with equivalent values, so
we should be able to transfer the flags from the original expression.

PR: https://github.com/llvm/llvm-project/pull/91472



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