llvm-6502/test/Transforms/JumpThreading
Chris Lattner 78f7a25f98 prevent jump threading from merging blocks when their address is
taken (and used!).  This prevents merging the blocks (invalidating
the block addresses) in a case like this:

#define _THIS_IP_  ({ __label__ __here; __here: (unsigned long)&&__here; })

void foo() {
  printf("%p\n", _THIS_IP_);
  printf("%p\n", _THIS_IP_);
  printf("%p\n", _THIS_IP_);
}

which fixes PR4151.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125829 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-18 04:43:06 +00:00
..
2008-11-27-EntryMunge.ll
2010-08-26-and.ll
and-and-cond.ll Re-apply r124518 with fix. Watch out for invalidated iterator. 2011-01-29 04:46:23 +00:00
and-cond.ll Re-apply r124518 with fix. Watch out for invalidated iterator. 2011-01-29 04:46:23 +00:00
basic.ll
branch-no-const.ll
compare.ll
crash.ll
degenerate-phi.ll Tolerate degenerate phi nodes that can occur in the middle of optimization 2011-02-10 23:54:10 +00:00
dg.exp
indirectbr.ll prevent jump threading from merging blocks when their address is 2011-02-18 04:43:06 +00:00
lvi-load.ll
no-irreducible-loops.ll
or-undef.ll
select.ll
thread-loads.ll Re-apply r124518 with fix. Watch out for invalidated iterator. 2011-01-29 04:46:23 +00:00