[PATCH] D131150: [AMDGPU][SIAnnotateCF] Support Conditions Using a Common Basic Block

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 8 05:06:28 PDT 2022


Pierre-vh updated this revision to Diff 450767.
Pierre-vh added a comment.

I added a special case to "bury" BBs under the last stack entry if the "then" is top of the stack. I feel like it's cheating a bit but I'm not sure how else we can deal with this.
All tests pass now with this change at least.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131150/new/

https://reviews.llvm.org/D131150

Files:
  llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  llvm/test/CodeGen/AMDGPU/si-annotate-control-flow-condition-common-blocks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131150.450767.patch
Type: text/x-patch
Size: 27550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220808/17b115be/attachment.bin>


More information about the llvm-commits mailing list