summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugValues.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-03-27 18:19:33 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-03-27 18:19:33 +0000
commit6d855ea024186d7dba21b1c178e7a0afd0f13eb0 (patch)
treef00b6d28611be2583556d7365d885c41b5053095 /llvm/lib/CodeGen/LiveDebugValues.cpp
parentbeda859a15ae064c5ace8c230709fdf79dc7a602 (diff)
downloadbcm5719-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/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud