aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-13 10:42:18 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-13 10:42:18 +0000
commit999b92d5aaa055efe7eaa1407cab7a407d05e3bc (patch)
tree7e5b2372bef47e51107df97e1763fd93007647c2 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentde3f20cf4ba9344beb49587c5d3e801bd152a9f7 (diff)
downloadllvm-999b92d5aaa055efe7eaa1407cab7a407d05e3bc.zip
llvm-999b92d5aaa055efe7eaa1407cab7a407d05e3bc.tar.gz
llvm-999b92d5aaa055efe7eaa1407cab7a407d05e3bc.tar.bz2
[PM] As was pointed out in review, I need to define a custom swap in
order to use the single assignment. That's probably worth doing for a lot of these types anyways as they may have non-trivial moves and so getting copy elision in more places seems worthwhile. I've tried to add some tests that actually catch this mistake, and one of the types is now well tested but the others' tests still fail to catch this. I'll keep working on tests, but this gets the core pattern right. llvm-svn: 203780
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions