[PATCH] D124450: [AMDGPU] Remove hasOneUse check from scalar select pattern
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 05:36:30 PDT 2022
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SOPInstructions.td:512
[{ return Subtarget->hasScalarCompareEq64() &&
- N->getOperand(0)->hasOneUse() && !N->isDivergent(); }]
>;
----------------
The hasOneUse check has always been there, since D81925 introduced SelectPat, but I don't see any reason for it.
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