aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterScavenging.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-08-12 04:31:38 +0000
committerChris Lattner <sabre@nondot.org>2011-08-12 04:31:38 +0000
commit823eb1ca11d684530048f1fe85a727aa1ef622d1 (patch)
tree398a5ff71bd0f1d14900b08fc23e3eaf4fcb2389 /lib/CodeGen/RegisterScavenging.cpp
parent79d7de7650f20bb95aa5a4799e89e06fde57f005 (diff)
Fix an obscure bug in PointerUnion that would bite PointerUnion3/4. Basically,
when checking isNull(), we'd pick off the sentinel bit for the outer PointerUnion, but would not recursively convert the inner pointerunion to bool, so if *its* sentinel bit is set, isNull() would incorrectly return false. No testcase, because someone hit this when they were trying to refactor code to use PointerUnion3, but they since found a better solution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterScavenging.cpp')
0 files changed, 0 insertions, 0 deletions