diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2025-02-06 10:48:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-06 12:48:52 -0600 |
commit | e41ffd3420d7c00c4c8f241b8f7f9ba210eea68f (patch) | |
tree | 380cdda1006a6497c8f5c3c17bf6c7da3a7a5c62 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | c32cd5746b1335ed172d1bf58fb6498b479bd8e0 (diff) | |
download | llvm-e41ffd3420d7c00c4c8f241b8f7f9ba210eea68f.zip llvm-e41ffd3420d7c00c4c8f241b8f7f9ba210eea68f.tar.gz llvm-e41ffd3420d7c00c4c8f241b8f7f9ba210eea68f.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions