Rafael Espindola 84ae206c97 Clone and restore the module being reduced in
ReduceMiscompilingFunctions::TestFuncs. This makes the test functional
(i.e., no side effects).

Before we would end up using dead functions if a pass decided to remove them
(inline for example) and we would also keep broken functions and conclude that
that a single function was enough to reproduce the bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109387 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-26 00:07:51 +00:00
..
2010-04-15 11:33:14 +00:00
2010-07-23 03:42:55 +00:00
2010-07-12 08:16:59 +00:00
2010-04-13 20:52:50 +00:00
2010-07-20 20:55:57 +00:00