[PATCH] D132520: [X86] Promote i8/i16 CTTZ (BSF) instructions and remove speculation branch
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 23 18:32:52 PDT 2022
RKSimon added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp:696
+// FIXME: These should really use the type parameter.
+bool AMDGPUTargetLowering::isCheapToSpeculateCttz(Type *Ty) const {
return true;
----------------
@foad @arsenm Is the Type arg enough for the target to make a better decision on when to speculate cttz/ctlz?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132520/new/
https://reviews.llvm.org/D132520
More information about the llvm-commits
mailing list