diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-19 22:11:55 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-19 22:11:55 +0000 |
commit | a7dea542b6e566e00d06164d417162a9aad1551d (patch) | |
tree | a84967eed4b5fd9b334c5327f3dc604bc895cdb9 /tools/llvm-diff/DiffLog.h | |
parent | 06bf8ff3f65d105501338517f3b67a3907152ca8 (diff) |
Merging r142168:
------------------------------------------------------------------------
r142168 | chandlerc | 2011-10-16 18:11:57 -0700 (Sun, 16 Oct 2011) | 8 lines
Add a routine to swap branch instruction operands, and update any
profile metadata at the same time. Use it to preserve metadata attached
to a branch when re-writing it in InstCombine.
Add metadata to the canonicalize_branch InstCombine test, and check that
it is tranformed correctly.
Reviewed by Nick Lewycky!
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_30@142545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-diff/DiffLog.h')
0 files changed, 0 insertions, 0 deletions