[PATCH] D120648: [RISCV] DAG combine bswap(srl (bswap t), x) to shl t, x
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 28 01:35:16 PST 2022
RKSimon added a comment.
In D120648#3348422 <https://reviews.llvm.org/D120648#3348422>, @frasercrmck wrote:
> Is this a target-independent optimization that's worth doing in general DAGCombine?
+1 This looks like a useful generic fold to me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120648/new/
https://reviews.llvm.org/D120648
More information about the llvm-commits
mailing list