[PATCH] D55625: [Intrinsic] Unsigned Fixed Point Multiplication Intrinsic

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 14 06:53:11 PST 2018


bjope added inline comments.


================
Comment at: llvm/docs/LangRef.rst:13010
+
+It is undefined behavior if the source value does not fit within the range of
+the fixed point type.
----------------
As a reader of this document (or rather a user of the intrinsic) I'd assume that the fixed point type is given by the width of the source arguments, together with the scale. So how can a source value not be within range?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D55625





More information about the llvm-commits mailing list