summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2013-11-04 16:13:21 +0000
committerJustin Bogner <mail@justinbogner.com>2013-11-04 16:13:21 +0000
commitb23224eede57ac6d521912f08eaa237ec4455777 (patch)
treebde21660a0b205fd05992c4f67971b6a0bee92e7 /llvm/lib/Bitcode
parent085e28e4a6109f13d111d3e3fa5f6eea18bcf414 (diff)
downloadbcm5719-llvm-b23224eede57ac6d521912f08eaa237ec4455777.tar.gz
bcm5719-llvm-b23224eede57ac6d521912f08eaa237ec4455777.zip
CodeGen: Use EmitBranchOnBool when generating For and CXXForRange
A while ago EmitForStmt was changed to explicitly evaluate the condition expression and create a branch instead of using EmitBranchOnBool, so that the condition expression could be used for some cleanup logic. The cleanup stuff has since been reorganized, and this is no longer necessary. In EmitCXXForRange, the evaluated condition was never used for anything else. The logic was presumably modeled on EmitForStmt. llvm-svn: 193994
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud