X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FNVPTXUsage.rst;h=e1c401df877af50146194a16a7770f7f2e1e7b4c;hb=71fa4016bbc6800689d2183e307ba6c8f6e1e689;hp=b081c5a7ae562c6bac96378e134fef640ae2635a;hpb=352168c57ec450c4962ee336edacc57a982aae84;p=oota-llvm.git diff --git a/docs/NVPTXUsage.rst b/docs/NVPTXUsage.rst index b081c5a7ae5..e1c401df877 100644 --- a/docs/NVPTXUsage.rst +++ b/docs/NVPTXUsage.rst @@ -273,7 +273,7 @@ there is a separate version for each compute architecture. For a list of all math functions implemented in libdevice, see `libdevice Users Guide `_. -To accomodate various math-related compiler flags that can affect code +To accommodate various math-related compiler flags that can affect code generation of libdevice code, the library code depends on a special LLVM IR pass (``NVVMReflect``) to handle conditional compilation within LLVM IR. This pass looks for calls to the ``@__nvvm_reflect`` function and replaces them