[PATCH] D31478: AMDGPU: Actually write nops for writeNopData

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 13:46:12 PDT 2017


arsenm created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

Before this was just writing 0s, which ends up looking like a
v_cndmask_b32 v0, s0, v0, vcc. Write out an encoded s_nop instead.


https://reviews.llvm.org/D31478

Files:
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
  test/CodeGen/AMDGPU/nop-data.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31478.93405.patch
Type: text/x-patch
Size: 2957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170329/badee5a0/attachment.bin>


More information about the llvm-commits mailing list