[PATCH] D126213: [DAGCombiner][AArch64] Don't fold (smulo x, 2) -> (saddo x, x) if VT is i2.
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 10:01:49 PDT 2022
spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.
LGTM - I don't think we'd see this problem in IR with the example test because we'd reduce the intrinsic if there's no use of the multiply result. We probably don't have the corresponding fold here because we don't expect to create these ops in SDAG?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126213/new/
https://reviews.llvm.org/D126213
More information about the llvm-commits
mailing list