[PATCH] D136432: [AMDGPU] Combine BFI instructions.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 08:10:38 PDT 2022


foad added a comment.

> Hmm... creating a plain binary tree is simple enough. Maybe we *should* do that as long as we're here...

I would suggest not doing that. It is not clearly better - it is a tradeoff between latency and register pressure. And I don't think SelectionDAG tries to balance trees in simpler cases, like just nested ANDs or nested ORs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136432



More information about the llvm-commits mailing list