[PowerPC] Implement writeNopData
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 4 Jul 2013 18:28:46 +0000 (18:28 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 4 Jul 2013 18:28:46 +0000 (18:28 +0000)
commitd3ac7c058bd4ee90e5df1619cde402819c26aa3c
tree55b3d47e869b7e28e76b90b3b25332064c27c126
parentbe0b55d1211a4b38d1e130c3e76d2bbb847c7110
[PowerPC] Implement writeNopData

This implements a proper PPCAsmBackend::writeNopData routine
that actually writes PowerPC nop instructions.

This fixes the last remaining difference in object file output
(text section) between the integrated assembler and GNU as
that I've seen anywhere.

llvm-svn: 185662
llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
llvm/test/MC/PowerPC/ppc-nop.s [new file with mode: 0644]