[all-commits] [llvm/llvm-project] 40a647: [IndVarSimplify] Drop samesign flags after narrowi...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Thu Nov 14 17:15:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40a647fc7dc6048c92e2d580b61f5feca0785980
      https://github.com/llvm/llvm-project/commit/40a647fc7dc6048c92e2d580b61f5feca0785980
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/test/Transforms/IndVarSimplify/finite-exit-comparisons.ll

  Log Message:
  -----------
  [IndVarSimplify] Drop samesign flags after narrowing compares (#116263)

Samesign flag cannot be preserved after narrowing the compare since the
position of the sign bit is changed.

Closes https://github.com/llvm/llvm-project/issues/116249.



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