diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2025-04-17 13:26:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-17 13:26:15 +0100 |
commit | f9c01b59e3d5239a4e42f94d5edbeb3698a81032 (patch) | |
tree | 9fb56e97275640290154b5c198233eec70148a4e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | f135ce6a9329124f1e508fcad2eedf5326a668fa (diff) | |
download | llvm-f9c01b59e3d5239a4e42f94d5edbeb3698a81032.zip llvm-f9c01b59e3d5239a4e42f94d5edbeb3698a81032.tar.gz llvm-f9c01b59e3d5239a4e42f94d5edbeb3698a81032.tar.bz2 |
[LV] Fix '-1U' bits for smallest type in getSmallestAndWidestTypes (#135783)
For loops without loads/stores, where the smallest/widest types are
calculated from the reduction, the smallest type returned is always -1U
and it actually returns the smallest type as the widest type. This PR
fixes the calculation.
This follows from
https://github.com/llvm/llvm-project/pull/132190#discussion_r2044232607
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions