diff options
author | Nikita Popov <npopov@redhat.com> | 2024-04-16 10:42:32 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 10:42:32 +0900 |
commit | 4b22a923c4bfd0aa1d483149f84b6787263c2d76 (patch) | |
tree | 2835620610d187b4c811f12df09976096a70f003 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5b9af38a03c8119cc2a42ae80d4a25e6f454c721 (diff) | |
download | llvm-4b22a923c4bfd0aa1d483149f84b6787263c2d76.zip llvm-4b22a923c4bfd0aa1d483149f84b6787263c2d76.tar.gz llvm-4b22a923c4bfd0aa1d483149f84b6787263c2d76.tar.bz2 |
[IndVars] Mark truncs as nuw/nsw (#88686)
When inserting truncs during IV widening, mark the trunc as either nuw
or nsw depending on whether zext or sext widening was used. For
non-negative IVs both nuw and nsw apply.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions