diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-27 18:19:33 +0000 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-27 18:19:33 +0000 |
| commit | 6d855ea024186d7dba21b1c178e7a0afd0f13eb0 (patch) | |
| tree | f00b6d28611be2583556d7365d885c41b5053095 /llvm/lib/CodeGen/GlobalISel | |
| parent | beda859a15ae064c5ace8c230709fdf79dc7a602 (diff) | |
| download | bcm5719-llvm-6d855ea024186d7dba21b1c178e7a0afd0f13eb0.tar.gz bcm5719-llvm-6d855ea024186d7dba21b1c178e7a0afd0f13eb0.zip | |
[ConstantRange] Rename isWrappedSet() to isUpperWrapped()
Split out from D59749. The current implementation of isWrappedSet()
doesn't do what it says on the tin, and treats ranges like
[X, Max] as wrapping, because they are represented as [X, 0) when
using half-inclusive ranges. This also makes it inconsistent with
the semantics of isSignWrappedSet().
This patch renames isWrappedSet() to isUpperWrapped(), in preparation
for the introduction of a new isWrappedSet() method with corrected
behavior.
llvm-svn: 357107
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel')
0 files changed, 0 insertions, 0 deletions

