User | Kudos |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
I think it would be very useful to have the ability to view the end output of the Dataflow Intermediate Representation (DFIR) (optimised) before it's passed to the Low-Level Virtual Machine (LLVM). At the moment it's difficult to tell if certain things have been optimised, and even more difficult to know how they have been optimised.
NI LabVIEW Compiler: Under the Hood
Consider the following (horrific) example:
Does LabVIEW refactor it to the following, or is it somewhere in-between like the second image?:
Sometimes leaving things inside loops make the code look neater and easier to change in the future.
Example: reading the length of a constant string, but I'm never sure if this gets changed to a constant length value or not.
Also, for a VI using a password protected sub-VI that is marked as inlined, it would make sense to not show the optimised code for the password protected part, but instead just showing the unprotected parts with a note about it not representing the final optimisation.
Note: I've seen an idea that previously mentioned this marked as "declined". However, the original idea proposed existing/similar functionality to the VI Analyser with only a small section on the DFIR output, so I'm assuming that is the reason it was declined.
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Compile-Advisor-Report/idi-p/1215369
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.