diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-11-12 08:21:33 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-11-12 08:21:33 +0000 |
commit | 0912425f79418a215c2fbd2d8fc9511244a4aa46 (patch) | |
tree | 0666e7f72c85a70f23d1362680f021de8e276ebf /lib/AST/ExprConstant.cpp | |
parent | 552f4c45ba4f4a01f86d585edabd871a27829867 (diff) |
IRgen improvements on unreachable code:
- Split out "simple" statements which can easily handle IR generation
when there is no insert point. These are generally statements which
start by emitting a new block or are only containers for other
statements.
- This fixes a regression in emitting dummy blocks, notably for case
statements.
- This also fixes spurious emission of a number of debug stoppoint
intrinsic instructions.
Remove unneeded sw.body block, just clear the insertion point.
Lift out CodeGenFunction::EmitStopPoint which calls into the
CGDebugInfo class when generating debug info.
Normalize definitions of Emit{Break,Continue}Stmt and usage of
ErrorUnsupported.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions