1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/Transforms/JumpThreading
Chris Lattner eccec47f5c 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.

llvm-svn: 125829
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 Teach jump threading to "look through" a select when the branch direction of a terminator depends on it. 2010-12-15 09:51:20 +00:00
thread-loads.ll Re-apply r124518 with fix. Watch out for invalidated iterator. 2011-01-29 04:46:23 +00:00