[llvm-dev] Textual IR value names

David Greene via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 9 14:23:51 PST 2019

Davide Italiano <davide at freebsd.org> writes:

>> Is this an intentional design choice?  If so, what's the rationale?  If
>> not, would it make sense to add a CMake option to specify whether
>> textual IR preserves names or not rather than overloading
> You can use `opt -instnamer`.

Ok, but that's somewhat cumbersome with clang and it still doesn't
really answer why things are set up they way they are.  Why should
building with asserts change the observable behavior of a (correct)
compiler?  That's surprising and not in a good way.


More information about the llvm-dev mailing list