summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2019-08-03 14:28:34 +0000
committerTim Northover <tnorthover@apple.com>2019-08-03 14:28:34 +0000
commita009a60a917bc30940422bcef73f8270566d78db (patch)
tree585c11f151ecd35dd07677ae76c12aee922c9a7f /llvm/docs
parent6bf861298a117f82f453021bc355a1fe38ca818b (diff)
downloadbcm5719-llvm-a009a60a917bc30940422bcef73f8270566d78db.tar.gz
bcm5719-llvm-a009a60a917bc30940422bcef73f8270566d78db.zip
IR: print value numbers for unnamed function arguments
For consistency with normal instructions and clarity when reading IR, it's best to print the %0, %1, ... names of function arguments in definitions. Also modifies the parser to accept IR in that form for obvious reasons. llvm-svn: 367755
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/ReleaseNotes.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index 169a713b4f5..7b7972f3187 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -53,6 +53,13 @@ Non-comprehensive list of changes in this release
Changes to the LLVM IR
----------------------
+* Unnamed function arguments now get printed with their automatically
+ generated name (e.g. "i32 %0") in definitions. This may require front-ends
+ to update their tests; if so there is a script utils/add_argument_names.py
+ that correctly converted 80-90% of Clang tests. Some manual work will almost
+ certainly still be needed.
+
+
Changes to building LLVM
------------------------
OpenPOWER on IntegriCloud