&gt; Things are also legal in LLVM IR that are not legal in any of the languages it supports, for example, getelementptr can be used with negative indices, etc.<p>Not sure what you&#x27;re talking about here; what&#x27;s wrong with negative indices in C?