[PATCH] D87384: [PowerPC] Add ISEL patterns for Mul with Imm.
EsmeYi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 00:55:25 PDT 2020
Esme added a comment.
Hi @jsji Infinite loop will occur if we handle the scenario 1 ` (mul X, c2 << c1) -> (mul (shl X, c1), c2)` in DAGCombiner, because there exists a reverse conversion `(mul (shl X, c1), c2) -> (mul X, c2 << c1)`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87384/new/
https://reviews.llvm.org/D87384
More information about the llvm-commits
mailing list