[all-commits] [llvm/llvm-project] 7faa8c: [ConstraintElimination] Fix undefined behaviour in...
Zain Jaffal via All-commits
all-commits at lists.llvm.org
Thu Mar 9 10:21:32 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7faa8c6ec6d4518663f49b0298c1762d90cb14f5
https://github.com/llvm/llvm-project/commit/7faa8c6ec6d4518663f49b0298c1762d90cb14f5
Author: Zain Jaffal <z_jaffal at apple.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/test/Transforms/ConstraintElimination/shl.ll
Log Message:
-----------
[ConstraintElimination] Fix undefined behaviour in shl decomposition
Add checks to prevent decomposing constants bigger than 64.
relates to https://github.com/llvm/llvm-project/issues/61127
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D145677
More information about the All-commits
mailing list