aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/SourceMgrTest.cpp
diff options
context:
space:
mode:
authorPaul Walker <paul.walker@arm.com>2025-10-14 11:23:53 +0100
committerGitHub <noreply@github.com>2025-10-14 11:23:53 +0100
commitd7fc7703402184792319f65570ad6a49ffe8cde7 (patch)
treeb0c756c8fcd40be3403ed7591274e13228b64850 /llvm/unittests/Support/SourceMgrTest.cpp
parent6712e20c5261376a6b0015fb3c8d15124757d47d (diff)
downloadllvm-d7fc7703402184792319f65570ad6a49ffe8cde7.zip
llvm-d7fc7703402184792319f65570ad6a49ffe8cde7.tar.gz
llvm-d7fc7703402184792319f65570ad6a49ffe8cde7.tar.bz2
[LLVM][DAGCombiner] Improve simplifyDivRem's effectiveness after type legalisation. (#162706)
simplifyDivRem does not work as well after type legalisation because splatted constants can have a size mismatch between the scalar to splat and the element type of the splatted result. simplifyDivRem does not seem to care about this mismatch so I've updated the "is one" check for the divisor to allow truncation.
Diffstat (limited to 'llvm/unittests/Support/SourceMgrTest.cpp')
0 files changed, 0 insertions, 0 deletions