diff options
author | Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> | 2025-05-15 10:08:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-15 10:08:05 +0100 |
commit | c807395011a027caae9ac196edfac328fb90443a (patch) | |
tree | d054df8fa76765513be878c561e79d3c5ff6071a /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | 8bd35ca41253ea36fff78d5acf59956a30b6555b (diff) | |
download | llvm-c807395011a027caae9ac196edfac328fb90443a.zip llvm-c807395011a027caae9ac196edfac328fb90443a.tar.gz llvm-c807395011a027caae9ac196edfac328fb90443a.tar.bz2 |
[LAA/SLP] Don't truncate APInt in getPointersDiff (#139941)
Change getPointersDiff to return an std::optional<int64_t>, and fill
this value with using APInt::trySExtValue. This simple change requires
changes to other functions in LAA, and major changes in SLPVectorizer
changing types from 32-bit to 64-bit.
Fixes #139202.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions