diff options
author | David Green <david.green@arm.com> | 2023-04-20 19:05:45 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2023-04-20 19:05:45 +0100 |
commit | bbc983d33a17b87012c18053a816a8984ab191ca (patch) | |
tree | 621b883691302723f7ec69ae2152862d86ad991c /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | dc55d47683e00e3899f05a57a6e1b6a173f2d200 (diff) | |
download | llvm-bbc983d33a17b87012c18053a816a8984ab191ca.zip llvm-bbc983d33a17b87012c18053a816a8984ab191ca.tar.gz llvm-bbc983d33a17b87012c18053a816a8984ab191ca.tar.bz2 |
[DAG] Retain nuw flags when reassociating adds
Given two adds that are both nuw, they will still be nuw after being
reassociated. (They only increase in value and at no point wrap).
https://alive2.llvm.org/ce/z/JrYM6H
Differential Revision: https://reviews.llvm.org/D148804
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions