X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fauxiliary%2Fgallivm%2Flp_bld_init.c;h=ef2580e8263568a472128a7f6563a0ec0f2e2165;hb=fd3e73f54e323d5de182bf6cdb6094c2fd7362b3;hp=b5902e864291be76f0fab4fe0de62a0dfaf59589;hpb=903eb09b5fb78d47d0f8a4bdf826a113ca2aff40;p=mesa.git diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c index b5902e86429..ef2580e8263 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_init.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c @@ -621,7 +621,10 @@ gallivm_compile_module(struct gallivm_state *gallivm) util_snprintf(filename, sizeof(filename), "ir_%s.bc", gallivm->module_name); LLVMWriteBitcodeToFile(gallivm->module, filename); debug_printf("%s written\n", filename); - debug_printf("Invoke as \"llc -o - %s\"\n", filename); + debug_printf("Invoke as \"llc %s%s -o - %s\"\n", + (HAVE_LLVM >= 0x0305) ? "[-mcpu=<-mcpu option] " : "", + "[-mattr=<-mattr option(s)>]", + filename); } if (use_mcjit) {