Go to file
Duncan Sands 3293f460e7 Reapply commit 158073 with a fix (the testcase was already committed). The
problem was that by moving instructions around inside the function, the pass
could accidentally move the iterator being used to advance over the function
too.  Fix this by only processing the instruction equal to the iterator, and
leaving processing of instructions that might not be equal to the iterator
to later (later = after traversing the basic block; it could also wait until
after traversing the entire function, but this might make the sets quite big).
Original commit message:

Grab-bag of reassociate tweaks.  Unify handling of dead instructions and
instructions to reoptimize.  Exploit this to more systematically eliminate
dead instructions (this isn't very useful in practice but is convenient for
analysing some testcase I am working on).  No need for WeakVH any more: use
an AssertingVH instead.

llvm-svn: 158226
2012-06-08 20:15:33 +00:00
clang Remove a commented out variable declaration. This was originally a debugging 2012-06-08 20:10:05 +00:00
compiler-rt [Sanitizer] add internal_memset and internal_strrchr to sanitizer_common/ 2012-06-08 14:11:12 +00:00
debuginfo-tests Fix this for buggy gdb behavior alongside the change 2012-06-05 18:16:03 +00:00
libclc configure.py: Add an install rule. 2012-06-01 17:29:59 +00:00
libcxx Fix warning flags for CMake builds, from Andrew C. Morrow! 2012-06-07 22:26:00 +00:00
libcxxabi Fix bug in cxa_demangle involving template substitution. 2012-05-02 15:38:11 +00:00
lld put the public function createReaderPECOFF() in the lld namespace and everything else in is own namespace 2012-06-07 02:23:48 +00:00
lldb rdar://problem/11487457 2012-06-08 19:06:28 +00:00
llvm Reapply commit 158073 with a fix (the testcase was already committed). The 2012-06-08 20:15:33 +00:00
polly Fix some coding convention problems. 2012-06-06 16:33:15 +00:00