summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-09-07 21:28:34 +0000
committerHal Finkel <hfinkel@anl.gov>2014-09-07 21:28:34 +0000
commit93873cc10e8f70a2e0d87680ef46b96f122e82d5 (patch)
tree33b5f8e1badcf09dddf8fe8beadaafaa45bd4a37 /clang/lib/CodeGen/CGExpr.cpp
parent7e1844940e8550e7b79b78091fd1bce043e257ea (diff)
downloadbcm5719-llvm-93873cc10e8f70a2e0d87680ef46b96f122e82d5.tar.gz
bcm5719-llvm-93873cc10e8f70a2e0d87680ef46b96f122e82d5.zip
Check for all known bits on ret in InstCombine
From a combination of @llvm.assume calls (and perhaps through other means, such as range metadata), it is possible that all bits of a return value might be known. Previously, InstCombine did not check for this (which is understandable given assumptions of constant propagation), but means that we'd miss simple cases where assumptions are involved. llvm-svn: 217346
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud