[llvm] [llc] Add -M for InstPrinter options (PR #121078)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 19:38:47 PST 2024


https://github.com/s-barannikov commented:

The way it is currently implemented it only works when invoking llc directly.
It would be great if the option could be set by the compiler driver, which passes options in memory.
See https://github.com/llvm/llvm-project/blob/eb549da9e5c1e626edb14ba9ce43e46ad3d088af/clang/tools/driver/cc1as_main.cpp#L538 for a few examples.

Some targets prefer to *not* print aliases by default; there should be a way of enabling this behavior.


https://github.com/llvm/llvm-project/pull/121078


More information about the llvm-commits mailing list