[PATCH] D119702: [AMDGPU] Divergence-driven instruction selection for bitreverse

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 09:59:29 PST 2022


alex-t added a comment.

Looks good but I'd like to see the selection-only LIT test:
uniform bitreverse i32,
divergent bitreverse i32,
uniform bitreverse i64,
divergent bitreverse i64
with -stop-after=amdgpu-isel
The purpose of the selection-only tests is to control the divergence-driven selection not broken.
Otherwise, it could be broken but full-stack tests are still matching because of the moveToVALU hackery.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119702



More information about the llvm-commits mailing list