[all-commits] [llvm/llvm-project] e41ffd: [NaryReassociate] Fix crash from pointer width / i...
Krzysztof Drewniak via All-commits
all-commits at lists.llvm.org
Thu Feb 6 10:49:14 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e41ffd3420d7c00c4c8f241b8f7f9ba210eea68f
https://github.com/llvm/llvm-project/commit/e41ffd3420d7c00c4c8f241b8f7f9ba210eea68f
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2025-02-06 (Thu, 06 Feb 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
M llvm/test/Transforms/NaryReassociate/nary-gep.ll
Log Message:
-----------
[NaryReassociate] Fix crash from pointer width / index width confusion (#125923)
NaryReassociate would crash on expressions like the one in the added
test that involved pointers where the size of the type was greater than
the index width of the pointer, causing calls to SCEV's zext expression
on types that didn't need to be zero-extended.
This commit fixes the issue.
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