[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)
commit972befb3f281f0f9ce08d7cf27b4e879327676b0
treed586b61b885f9b28d473c087c1222bf5cdb77dbd
parent449f64c69c8db6ac0b63078e1feb1f51b7b0549a
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
test/MC/PowerPC/ppc-nop.s [new file with mode: 0644]