[PATCH] D61390: [CodeGen] Add lround/llround builtins

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 11:36:48 PDT 2019


craig.topper added inline comments.


================
Comment at: llvm/docs/LangRef.rst:12354
+This is an overloaded intrinsic. You can use ``llvm.lround`` on any
+floating-point or vector of floating-point type. Not all targets support
+all types however.
----------------
How can this support vector if the result type is hardcoded to i32/i64?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61390





More information about the llvm-commits mailing list