[PATCH] D36299: [AMDGPU] Preserve inverted bit in SI_IF in presence of SI_KILL

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 19:26:06 PDT 2017


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

In case if SI_KILL is in between of the SI_IF and SI_END_CF we need
to preserve the bits actually flipped by if rather then restoring
the original mask.


https://reviews.llvm.org/D36299

Files:
  lib/Target/AMDGPU/SILowerControlFlow.cpp
  test/CodeGen/AMDGPU/si-lower-control-flow-kill.ll
  test/CodeGen/AMDGPU/skip-if-dead.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36299.109674.patch
Type: text/x-patch
Size: 4803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170804/a177e22f/attachment.bin>


More information about the llvm-commits mailing list