Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Somehow I was getting reasonable results for the test cases I was interested | John McCall | 2010-07-29 | 1 | -14/+38 |
| | | | | | | | | | | | in despite not ever incrementing any path costs, so that the only nonzero costs arose from the all-left path in the first column. Anyway. Perform the diff starting from the beginning of the block to avoid capturing (say) loads of allocas. Vastly improves diff results on code that hasn't been mem2reg'ed. llvm-svn: 109741 | ||||
* | Cache the result of errs() and implement formatted logging. | John McCall | 2010-07-29 | 1 | -8/+8 |
| | | | | llvm-svn: 109740 | ||||
* | Add the llvm-diff tool, which performs a relatively naive structural | John McCall | 2010-07-29 | 1 | -0/+600 |
diff of a function. There's a lot of cruft in the current version, and it's pretty far from perfect, but it's usable. Currently only capable of comparing functions. Currently ignores metadata. Currently ignores most attributes of functions and instructions. Patches welcome. llvm-svn: 109739 |