[PATCH] D55897: Add constrained fptrunc and fpext intrinsics
Connor Abbott via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 03:57:53 PST 2019
cwabbott added inline comments.
================
Comment at: docs/LangRef.rst:14529
+ @llvm.experimental.constrained.fptrunc(<type> <value>,
+ metadata <exception behavior>)
+
----------------
Hi,
I've been working on implementing a Vulkan extension which allows the user to specifiy different rounding modes for the AMDGPU backend. I'm not sure how this works in C/C++, but we're required to support floating-point truncation with non-standard rounding modes. Is there a reason the rounding mode isn't an argument here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55897/new/
https://reviews.llvm.org/D55897
More information about the llvm-commits
mailing list