diff options
author | Philip Reames <listmail@philipreames.com> | 2015-04-13 18:07:21 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-04-13 18:07:21 +0000 |
commit | 69e51cae33c86d62d4421ed3c9eff3a2022a5cbc (patch) | |
tree | 5e04245c6814d0249557c74a75b9b3c2ec342396 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | ffcd96864721a8901412c5c51e08120c103948d4 (diff) | |
download | llvm-69e51cae33c86d62d4421ed3c9eff3a2022a5cbc.zip llvm-69e51cae33c86d62d4421ed3c9eff3a2022a5cbc.tar.gz llvm-69e51cae33c86d62d4421ed3c9eff3a2022a5cbc.tar.bz2 |
[RewriteStatepointsForGC] Fix a latent bug in normalization for invoke statepoint [NFC]
Since we're restructuring the CFG, we also need to make sure to update the analsis passes. While I'm touching the code, I dedicided to restructure it a bit. The code involved here was very confusing. This change moves the normalization to essentially being a pre-pass before the main insertion work and updates a few comments to actually say what is happening and *why*.
The restructuring should be covered by existing tests. I couldn't easily see how to create a test for the invalidation bug. Suggestions welcome.
llvm-svn: 234769
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions