diff options
author | Paul Walker <paul.walker@arm.com> | 2025-06-19 13:24:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-19 13:24:39 +0100 |
commit | e478a22d540d336632fb3c110c5377447cd7f3b2 (patch) | |
tree | 5c9e2029e6931fa1babe44a26569ebabf93f79db /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 936c5566db013225dc098ff961395bb19e1bf2a4 (diff) | |
download | llvm-e478a22d540d336632fb3c110c5377447cd7f3b2.zip llvm-e478a22d540d336632fb3c110c5377447cd7f3b2.tar.gz llvm-e478a22d540d336632fb3c110c5377447cd7f3b2.tar.bz2 |
[LLVM][IRBuilder] Use NUW arithmetic for Create{ElementCount,TypeSize}. (#143532)
This put the onus on the caller to ensure the result type is big enough.
In the unlikely event a cropped result is required then explicitly
truncate a safe value.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions