aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2025-02-06 10:48:52 -0800
committerGitHub <noreply@github.com>2025-02-06 12:48:52 -0600
commite41ffd3420d7c00c4c8f241b8f7f9ba210eea68f (patch)
tree380cdda1006a6497c8f5c3c17bf6c7da3a7a5c62 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parentc32cd5746b1335ed172d1bf58fb6498b479bd8e0 (diff)
downloadllvm-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