Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4 |
|
#
f8559751 |
| 04-Nov-2024 |
Jay Foad <jay.foad@amd.com> |
[llvm-project] Fix typo "propogate" (#114795)
|
Revision tags: llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3 |
|
#
fbec83cb |
| 24-Apr-2023 |
David Spickett <david.spickett@linaro.org> |
[llvm][TableGen][Jupyter] Add configurable default reset behaviour
Often you are doing one of 2 things: * Building a larger example from many small cells. * Showing many small isolated examples.
Th
[llvm][TableGen][Jupyter] Add configurable default reset behaviour
Often you are doing one of 2 things: * Building a larger example from many small cells. * Showing many small isolated examples.
The default so far has followed iPython, where cells are connected by default (in its case, the interpreter state backing them sticks around).
This change adds a new magic `%config` where you can change the setting `cellreset` to change that behaviour (this is currently the only setting).
Also added is a `%noreset` magic so that along with `%reset` you can override the default for one particular cell.
The default is equivalent to `%config cellreset off`. If you then wanted to reset in a cell, you can just do %reset to override it.
(this is what the current notebooks do)
If you instead do `%config cellreset on`, cells always reset and you can choose not to using `%noreset`.
The setting is named `cellreset` not `reset` to differentiate it a bit more from the one off command `reset`.
The demo notebook has been updated with examples of this in action.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D149055
show more ...
|
Revision tags: llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1 |
|
#
fdd18e86 |
| 25-Jan-2023 |
David Spickett <david.spickett@linaro.org> |
[llvm][TableGen][Jupyter] Show llvm-tblgen not found error in notebook
Previously this message was only shown on the command line, which is not much help if you can't see that. (you've full screened
[llvm][TableGen][Jupyter] Show llvm-tblgen not found error in notebook
Previously this message was only shown on the command line, which is not much help if you can't see that. (you've full screened the browser or you aren't running Jupyter on the same machine)
Instead return the error as stderr which will get printed in the notebook just like stderr from llvm-tblgen would.
I've refactored the message sending along the way. Note that even when we do not send a stream, we still need to send the status reply. The send_... methods will do that for you.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D142531
show more ...
|
Revision tags: llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, working, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3 |
|
#
92787e3e |
| 23-Aug-2022 |
David Spickett <david.spickett@linaro.org> |
[LLVM][TableGen] Support combined cells in jupyter kernel
This changes the default mode to cache the code blocks we're asked to compile until we see the new `%reset` magic to clear that cache.
This
[LLVM][TableGen] Support combined cells in jupyter kernel
This changes the default mode to cache the code blocks we're asked to compile until we see the new `%reset` magic to clear that cache.
This means that if you run several cells in sequence, at the end you're compiling the code from all the cells at once.
This emulates what the ipython kernel does where it uses a persistent interpreter state by default.
`%reset` will only be acted on when it's in the cell we're asked to run (the newest code).
`%args` we will use the most recent value we have cached.
The example notebook has been updated to explain that.
Depends on D132378
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D132646
show more ...
|
#
210a383e |
| 22-Aug-2022 |
David Spickett <david.spickett@linaro.org> |
[LLVM][TableGen] Add jupyter kernel for llvm-tblgen
This is based on the MLIR opt kernel: https://github.com/llvm/llvm-project/tree/main/mlir/utils/jupyter
The inent of this is to enable experiment
[LLVM][TableGen] Add jupyter kernel for llvm-tblgen
This is based on the MLIR opt kernel: https://github.com/llvm/llvm-project/tree/main/mlir/utils/jupyter
The inent of this is to enable experimentation and the creation of interactive tutorials for the basics of tablegen.
Noteable changes from that: * Removed the codemirror mode settings since those won't exist for tablegen. * Added "%args" "magic" to control arguments sent to llvm-tblgen.
(magics are directives, see https://ipython.readthedocs.io/en/stable/interactive/magics.html)
For example the following: ``` %args --print-detailed-records class Stuff {}
def water_bottle : Stuff {} ``` Produces: ``` DETAILED RECORDS for file -
-------------------- Global Variables (0) --------------------
-------------------- Classes (1) --------------------
Stuff |<stdin>:1| Template args: (none) Superclasses: (none) Fields: (none)
-------------------- Records (1) --------------------
water_bottle |<stdin>:3| Superclasses: Stuff Fields: (none) ```
Reviewed By: jpienaar, awarzynski
Differential Revision: https://reviews.llvm.org/D132378
show more ...
|