[PATCH] D74165: [x86] [DAGCombine] Prefer shifts of constant widths.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 12:54:08 PST 2020
arsenm added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/TargetLowering.h:3420-3424
+ virtual bool
+ shiftOrRotateIsFasterWithConstantShiftAmount(const SDNode *N,
+ CombineLevel Level) const {
+ return false;
+ }
----------------
I think we generally have too many, overly specific queries like this. Is there any real reason to NOT do this on any target?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74165/new/
https://reviews.llvm.org/D74165
More information about the llvm-commits
mailing list