]> granicus.if.org Git - clang/commit
Make codegen smart enough to not emit the dead side of an if whose
authorChris Lattner <sabre@nondot.org>
Tue, 11 Nov 2008 07:24:28 +0000 (07:24 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Nov 2008 07:24:28 +0000 (07:24 +0000)
commit62b72f642207ba2ba433d686df924dc9594e9897
tree675865a6e3c988e0e2b64f848d5cfc6f47ebaea0
parent3cc5c406c436a90c8dd61f545552b844391ebf5b
Make codegen smart enough to not emit the dead side of an if whose
condition is a constant.  This shrinks -O0 codegen by quite a bit
on some cases.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59033 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp