diff options
author | Philip Reames <listmail@philipreames.com> | 2015-10-29 03:11:49 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-10-29 03:11:49 +0000 |
commit | 846e3e41edc04dbc8fdc14e24420bfe28cdfded3 (patch) | |
tree | 0e803d3a7455fd02a100e68cadfc248ddc4c971c /lldb/scripts/Python | |
parent | a904e520c259c5561b57540b43e6c72673d14291 (diff) | |
download | llvm-846e3e41edc04dbc8fdc14e24420bfe28cdfded3.zip llvm-846e3e41edc04dbc8fdc14e24420bfe28cdfded3.tar.gz llvm-846e3e41edc04dbc8fdc14e24420bfe28cdfded3.tar.bz2 |
[SimplifyCFG] Constant fold a branch implied by it's incoming edge
The most common use case is when eliminating redundant range checks in an example like the following:
c = a[i+1] + a[i];
Note that all the smarts of the transform (the implication engine) is already in ValueTracking and is tested directly through InstructionSimplify.
Differential Revision: http://reviews.llvm.org/D13040
llvm-svn: 251596
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions