[PATCH] D135451: [TTI] New PPC target hook enableUncondDivisionSpeculation

Nuno Lopes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 8 01:37:09 PDT 2022


nlopes added a comment.

I would also prefer to not go this route.
Alternatives include using predicated builtins, stick to pre-headers, or introduce a new intrinsic that yields poison on division by zero and/or INT_MAX/-1.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135451



More information about the llvm-commits mailing list