diff options
author | John McCall <rjmccall@apple.com> | 2010-01-05 23:42:56 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-01-05 23:42:56 +0000 |
commit | 1be1c636341381eb5d919550b54784c5a73f517c (patch) | |
tree | 4b5ae3dc9cd10e877e7565f9d1a758c7fc4f88ba /llvm/lib/CodeGen/SelectionDAG | |
parent | e50486bbca8ce29ecbc450ff26ee467e5fadc589 (diff) | |
download | bcm5719-llvm-1be1c636341381eb5d919550b54784c5a73f517c.tar.gz bcm5719-llvm-1be1c636341381eb5d919550b54784c5a73f517c.zip |
Add Expr::EvaluateAsBooleanCondition(), which does unprincipled folding to
try to evaluate an expression as a constant boolean condition. This has
the same intended semantics as used in folding conditional operators.
llvm-svn: 92805
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
0 files changed, 0 insertions, 0 deletions