aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/LangRef.rst
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-11-03 10:46:07 +0100
committerGitHub <noreply@github.com>2023-11-03 10:46:07 +0100
commite4a4122eb6768b69640173b4c32fd88de4547227 (patch)
treee0c6343e6a4f10225168345da68dc93877a78e16 /llvm/docs/LangRef.rst
parente9db60c05e2fb96ff40cbb1f78790abc5de9237e (diff)
downloadllvm-e4a4122eb6768b69640173b4c32fd88de4547227.zip
llvm-e4a4122eb6768b69640173b4c32fd88de4547227.tar.gz
llvm-e4a4122eb6768b69640173b4c32fd88de4547227.tar.bz2
[IR] Remove zext and sext constant expressions (#71040)
Remove support for zext and sext constant expressions. All places creating them have been removed beforehand, so this just removes the APIs and uses of these constant expressions in tests. There is some additional cleanup that can be done on top of this, e.g. we can remove the ZExtInst vs ZExtOperator footgun. This is part of https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179.
Diffstat (limited to 'llvm/docs/LangRef.rst')
-rw-r--r--llvm/docs/LangRef.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 9c8e264..6fd4832 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -4657,10 +4657,6 @@ The following is the syntax for constant expressions:
``trunc (CST to TYPE)``
Perform the :ref:`trunc operation <i_trunc>` on constants.
-``zext (CST to TYPE)``
- Perform the :ref:`zext operation <i_zext>` on constants.
-``sext (CST to TYPE)``
- Perform the :ref:`sext operation <i_sext>` on constants.
``fptrunc (CST to TYPE)``
Truncate a floating-point constant to another floating-point type.
The size of CST must be larger than the size of TYPE. Both types