[all-commits] [llvm/llvm-project] d15fef: [IndVarSimplify] Handle the case where both operan...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Fri Apr 11 11:51:36 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: d15fef4209f12b9549509d6c6a7156d8e6cdba9e
https://github.com/llvm/llvm-project/commit/d15fef4209f12b9549509d6c6a7156d8e6cdba9e
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-04-11 (Fri, 11 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
A llvm/test/Transforms/IndVarSimplify/pr135182.ll
Log Message:
-----------
[IndVarSimplify] Handle the case where both operands are the same when widening IV (#135207)
`WidenIV::widenWithVariantUse` assumes that exactly one of the binop
operands is the IV to be widened. This miscompilation happens when it
tries to sign-extend the "NonIV" operand while the IV is zero-extended.
Closes https://github.com/llvm/llvm-project/issues/135182.
(cherry picked from commit d14acb78065bdd331019924feaaef52e5e744529)
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