[Diffusion] rG13ec913bdf50: [InstCombine] Recognize `((x * y) s/ x) !=/== y` as an signed multiplication…

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 02:32:25 PDT 2021


RKSimon added a comment.

Isn't the problem the limited lowering options in TargetLowering::expandMULO ? If we fell back to reusing the expansions we have in TargetLowering::expandMUL_LOHI then we'd probably be OK ?


BRANCHES
  main

Users:
  lebedev.ri (Author)

https://reviews.llvm.org/rG13ec913bdf50



More information about the llvm-commits mailing list