[PATCH] D132555: [instcombine] Optimise for zero initialisation of integer product

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 08:16:15 PDT 2022


spatel added a comment.

Note that "-ipsccp" already simplifies this example:
https://alive2.llvm.org/ce/z/WRqr2s

So I'm not sure if there's any practical benefit. It makes instcombine more uniform, so I don't object. We might also go in the other direction, but I don't know what it would take to make sccp FP-aware.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132555/new/

https://reviews.llvm.org/D132555



More information about the llvm-commits mailing list