Benjamin Kramer
58f1ced564
SCEVExpander: Fix a regression I introduced by to eagerly adding RAII objects.
...
PR17425.
llvm-svn: 191741
2013-10-01 12:17:11 +00:00
Dmitri Gribenko
56bf2e1830
Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID
...
This is done to avoid odd test failures, like the one fixed in r171243.
llvm-svn: 171250
2012-12-30 02:33:22 +00:00
Rafael Espindola
09a4201d3c
Fix this assert. IP can point to an instruction with strange dominance
...
properties (invoke). Just assert that the instruction we return dominates
the insertion point.
llvm-svn: 151511
2012-02-27 02:13:03 +00:00
Rafael Espindola
94df267db3
Change the implementation of dominates(inst, inst) to one based on what the
...
verifier does. This correctly handles invoke.
Thanks to Duncan, Andrew and Chris for the comments.
Thanks to Joerg for the early testing.
llvm-svn: 151469
2012-02-26 02:19:19 +00:00