[PATCH] D69993: [APInt] Add saturating truncation methods

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 01:25:13 PST 2019


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM

I feel like the names are a bit inconsistent with existing uadd_sat etc, but utrunc_sat seems worse than truncUSat, so let's just go with it...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69993





More information about the llvm-commits mailing list