diff options
| author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-10-07 20:32:43 +0000 |
|---|---|---|
| committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-10-07 20:32:43 +0000 |
| commit | 08d90a3ceeca64bc232666ea342405ab4fcb45e4 (patch) | |
| tree | 29da319f20c034339ec6049e75fd6ed27c5d330d /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
| parent | 284093033f0654cb70e71df0958480d4c1e24dd6 (diff) | |
| download | llvm-08d90a3ceeca64bc232666ea342405ab4fcb45e4.zip llvm-08d90a3ceeca64bc232666ea342405ab4fcb45e4.tar.gz llvm-08d90a3ceeca64bc232666ea342405ab4fcb45e4.tar.bz2 | |
Treat conditionally executed non-pure calls as errors
This replaces the support for user defined error functions by a
heuristic that tries to determine if a call to a non-pure function
should be considered "an error". If so the block is assumed not to be
executed at runtime. While treating all non-pure function calls as
errors will allow a lot more regions to be analyzed, it will also
cause us to dismiss a lot again due to an infeasible runtime context.
This patch tries to limit that effect. A non-pure function call is
considered an error if it is executed only in conditionally with
regards to a cheap but simple heuristic.
llvm-svn: 249611
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions
