Use cast<> instead of dyn_cast to remove llvm_unreachable. NFC.
[oota-llvm.git] / docs / StackMaps.rst
index bd0fb946f9a50ea1bd5f4674aabe498ef24d7999..dbdf78f992cafe0b380f3e6dca3da1f6abdd15c1 100644 (file)
@@ -221,6 +221,11 @@ lowered according to the calling convention specified at the
 intrinsic's callsite. Variants of the intrinsic with non-void return
 type also return a value according to calling convention.
 
+On PowerPC, note that ``<target>`` must be the ABI function pointer for the
+intended target of the indirect call. Specifically, when compiling for the
+ELF V1 ABI, ``<target>`` is the function-descriptor address normally used as
+the C/C++ function-pointer representation.
+
 Requesting zero patch point arguments is valid. In this case, all
 variable operands are handled just like
 ``llvm.experimental.stackmap.*``. The difference is that space will