[PATCH] D95774: [RISCV] Optimize (srl (and X, 0xffff), C) -> (srli (slli X, 16), 16 + C).
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 1 03:14:32 PST 2021
frasercrmck added a comment.
Looks good, but I'm wondering if this is already a target-independent transform (depending on the cost to materialize the constant)? If not, why not?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95774/new/
https://reviews.llvm.org/D95774
More information about the llvm-commits
mailing list