VMCore was renamed to IR long time ago
[oota-llvm.git] / docs / LangRef.rst
index 669178bf603db2aab488cd841a709ee95e08a9d0..ddef80318e2b1bf3bcdec56fa9efe96bc0549527 100644 (file)
@@ -8051,7 +8051,7 @@ This function returns the same values as the libm ``fabs`` functions
 would, and handles error conditions in the same way.
 
 '``llvm.minnum.*``' Intrinsic
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 Syntax:
 """""""
@@ -8062,11 +8062,11 @@ all types however.
 
 ::
 
-      declare float     @llvm.minnum.f32(float %Val)
-      declare double    @llvm.minnum.f64(double %Val)
-      declare x86_fp80  @llvm.minnum.f80(x86_fp80 %Val)
-      declare fp128     @llvm.minnum.f128(fp128 %Val)
-      declare ppc_fp128 @llvm.minnum.ppcf128(ppc_fp128 %Val)
+      declare float     @llvm.minnum.f32(float %Val0, float %Val1)
+      declare double    @llvm.minnum.f64(double %Val0, double %Val1)
+      declare x86_fp80  @llvm.minnum.f80(x86_fp80 %Val0, x86_fp80 %Val1)
+      declare fp128     @llvm.minnum.f128(fp128 %Val0, fp128 %Val1)
+      declare ppc_fp128 @llvm.minnum.ppcf128(ppc_fp128 %Val0, ppc_fp128 %Val1)
 
 Overview:
 """""""""
@@ -8093,7 +8093,7 @@ returns a value that compares equal to both operands. This means that
 fmin(+/-0.0, +/-0.0) could return either -0.0 or 0.0.
 
 '``llvm.maxnum.*``' Intrinsic
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 Syntax:
 """""""
@@ -8104,11 +8104,11 @@ all types however.
 
 ::
 
-      declare float     @llvm.maxnum.f32(float  %Val)
-      declare double    @llvm.maxnum.f64(double %Val)
-      declare x86_fp80  @llvm.maxnum.f80(x86_fp80  %Val)
-      declare fp128     @llvm.maxnum.f128(fp128 %Val)
-      declare ppc_fp128 @llvm.maxnum.ppcf128(ppc_fp128  %Val)
+      declare float     @llvm.maxnum.f32(float  %Val0, float  %Val1l)
+      declare double    @llvm.maxnum.f64(double %Val0, double %Val1)
+      declare x86_fp80  @llvm.maxnum.f80(x86_fp80  %Val0, x86_fp80  %Val1)
+      declare fp128     @llvm.maxnum.f128(fp128 %Val0, fp128 %Val1)
+      declare ppc_fp128 @llvm.maxnum.ppcf128(ppc_fp128  %Val0, ppc_fp128  %Val1)
 
 Overview:
 """""""""
@@ -9632,8 +9632,9 @@ Syntax:
 Overview:
 """""""""
 
-The ``llvm.donothing`` intrinsic doesn't perform any operation. It's the
-only intrinsic that can be called with an invoke instruction.
+The ``llvm.donothing`` intrinsic doesn't perform any operation. It's one of only
+two intrinsics (besides ``llvm.experimental.patchpoint``) that can be called
+with an invoke instruction.
 
 Arguments:
 """"""""""