[all-commits] [llvm/llvm-project] 11be11: [SCEV] Fix sext handling for `getConstantMultiple`...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Nov 25 00:46:04 PST 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 11be11b8773bf63abe2c8da72db3ee7c25af524b
      https://github.com/llvm/llvm-project/commit/11be11b8773bf63abe2c8da72db3ee7c25af524b
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    A llvm/test/Analysis/ScalarEvolution/pr116483.ll
    A llvm/test/Transforms/IndVarSimplify/pr116483.ll

  Log Message:
  -----------
  [SCEV] Fix sext handling for `getConstantMultiple` (#117093)

Counterexample: 219 is a multiple of 73. But `sext i8 219 to i16 =
65499` is not.
Fixes https://github.com/llvm/llvm-project/issues/116483.

(cherry picked from commit 458dfbd855806461b4508bf8845cafe0411dbfd4)



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