[PATCH] D124450: [AMDGPU] Remove hasOneUse check from scalar select pattern
Piotr Sobczak via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 01:00:16 PDT 2022
piotr added a comment.
Looks good to me - the extra s_cselect's generated are worth the complexity arising from this patch.
Can you add a test (or point me to an existing one), where there are multiple uses of scc and some selects, but not all, are transformed to cndmask during moveToValu?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124450/new/
https://reviews.llvm.org/D124450
More information about the llvm-commits
mailing list