llvm-ir-editor
llvm-ir-editor copied to clipboard
An LLVM IR Editor plugin for Eclipse
Decimal integer -> show hex on hover, and if small maybe also binary Hex float -> show notation with dot on hover Scientific float -> show notation with dot on...
e.g. hovering over "ule" of icmp would show a corresponding documentation. If this works, it could possibly be extended to instruction opcodes themselves. Discussion on how this could be done:...
To be useful, a comparison should try to: 1. Be aware of structure 2. Ignore element reordering when it has no semantic effect 3. Ignore element renaming
Features that don't work: - Syntax errors - Quickfix options (probably because `context.getXtextDocument()` returns null)
e.g. using { i32 %0 } will break everything around it horribly, just because %0 is not a constant.
It can be useful to add the ability to switch between multiple compatibility mode options, e.g.: - LLVM 2.9-3.3 - LLVM 2.0-2.8 - SPIR 1.0 ... etc. That would mean...
Especially to conversion constant expressions.
Link between invokes and landingpads, make sure proper landingpads are in place, etc.