[PATCH] D111862: [AArch64] Canonicalize X*(Y+1) or X*(1-Y) to madd/msub
chenglin.bi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 16 00:53:07 PST 2023
bcl5980 added a comment.
Herald added a project: All.
Should we add ISD::Freeze here? What if X/Y is undef for this pattern?
It looks the transform is not correct unless X/Y is noundef on LLVM IR. I don't know if SDAG have similar limitation or not.
https://alive2.llvm.org/ce/z/ciKKWy
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111862/new/
https://reviews.llvm.org/D111862
More information about the llvm-commits
mailing list