aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
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/CodeGenFunction.h
parent7e1844940e8550e7b79b78091fd1bce043e257ea (diff)
downloadllvm-93873cc10e8f70a2e0d87680ef46b96f122e82d5.zip
llvm-93873cc10e8f70a2e0d87680ef46b96f122e82d5.tar.gz
llvm-93873cc10e8f70a2e0d87680ef46b96f122e82d5.tar.bz2
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/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions