@@ -28302,9 +28302,9 @@ Overview:
28302
28302
28303
28303
The '``llvm.experimental.constrained.lrint``' intrinsic returns the first
28304
28304
argument rounded to the nearest integer. An inexact floating-point exception
28305
- will be raised if the argument is not an integer. An invalid exception is
28306
- raised if the result is too large to fit into a supported integer type,
28307
- and in this case the result is undefined .
28305
+ will be raised if the argument is not an integer. If the rounded value is too
28306
+ large to fit into the result type, an invalid exception is raised, and the
28307
+ return value is a non-deterministic value (equivalent to `freeze poison`) .
28308
28308
28309
28309
Arguments:
28310
28310
""""""""""
@@ -28350,9 +28350,9 @@ Overview:
28350
28350
28351
28351
The '``llvm.experimental.constrained.llrint``' intrinsic returns the first
28352
28352
argument rounded to the nearest integer. An inexact floating-point exception
28353
- will be raised if the argument is not an integer. An invalid exception is
28354
- raised if the result is too large to fit into a supported integer type,
28355
- and in this case the result is undefined .
28353
+ will be raised if the argument is not an integer. If the rounded value is too
28354
+ large to fit into the result type, an invalid exception is raised, and the
28355
+ return value is a non-deterministic value (equivalent to `freeze poison`) .
28356
28356
28357
28357
Arguments:
28358
28358
""""""""""
@@ -28701,8 +28701,9 @@ Overview:
28701
28701
The '``llvm.experimental.constrained.lround``' intrinsic returns the first
28702
28702
argument rounded to the nearest integer with ties away from zero. It will
28703
28703
raise an inexact floating-point exception if the argument is not an integer.
28704
- An invalid exception is raised if the result is too large to fit into a
28705
- supported integer type, and in this case the result is undefined.
28704
+ If the rounded value is too large to fit into the result type, an invalid
28705
+ exception is raised, and the return value is a non-deterministic value
28706
+ (equivalent to `freeze poison`).
28706
28707
28707
28708
Arguments:
28708
28709
""""""""""
@@ -28739,8 +28740,9 @@ Overview:
28739
28740
The '``llvm.experimental.constrained.llround``' intrinsic returns the first
28740
28741
argument rounded to the nearest integer with ties away from zero. It will
28741
28742
raise an inexact floating-point exception if the argument is not an integer.
28742
- An invalid exception is raised if the result is too large to fit into a
28743
- supported integer type, and in this case the result is undefined.
28743
+ If the rounded value is too large to fit into the result type, an invalid
28744
+ exception is raised, and the return value is a non-deterministic value
28745
+ (equivalent to `freeze poison`).
28744
28746
28745
28747
Arguments:
28746
28748
""""""""""
0 commit comments