[PATCH] D150921: [KnownBits] Cleanup some misspelling / logic in {u,s}div

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 18 17:37:56 PDT 2023


goldstein.w.n created this revision.
goldstein.w.n added reviewers: foad, nikic.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Chronically misspelled 'denominator' as 'denuminator' and a few other
cases.

On the logic side, no longer require `RHS` to be strictly positive in
`sdiv`. This in turn means we need to handle a possible zero `denom`
in the APInt division.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150921

Files:
  llvm/lib/Support/KnownBits.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150921.523614.patch
Type: text/x-patch
Size: 3775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/81886560/attachment.bin>


More information about the llvm-commits mailing list