[PATCH] D97427: [AMDGPU] Do not annotate an else branch if there is a kill

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 17:12:50 PST 2021


critson added a comment.

With respect to the searching that this adds, I ran this on 14069 graphics pipelines from them this invoked the search 13735 times.
Mean 5.5 instructions were visited during the search and the worst case was 33 instructions.
So I think the cost of doing this is low.

I am still in two minds about whether to do this or stop lowering kills to block terminators, but this is the smaller change.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97427



More information about the llvm-commits mailing list