Mesa (master): gallivm: fix typo in debug_printf message

Roland Scheidegger sroland at kemper.freedesktop.org
Thu Oct 5 00:19:32 UTC 2017


Module: Mesa
Branch: master
Commit: 3a9feb4db8ad1e87a70c761987798b7575d522aa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a9feb4db8ad1e87a70c761987798b7575d522aa

Author: Ben Crocker <bcrocker at redhat.com>
Date:   Thu Sep 28 14:09:10 2017 -0400

gallivm: fix typo in debug_printf message

In gallivm_compile_module, fix a typo in the
debug_printf("Invoke as \"llc ..." message.

Cc: "17.2" <mesa-stable at lists.freedesktop.org>

Signed-off-by: Ben Crocker <bcrocker at redhat.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>

---

 src/gallium/auxiliary/gallivm/lp_bld_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
index 9f1ade68c4..c456a97eb6 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
@@ -606,7 +606,7 @@ gallivm_compile_module(struct gallivm_state *gallivm)
       LLVMWriteBitcodeToFile(gallivm->module, filename);
       debug_printf("%s written\n", filename);
       debug_printf("Invoke as \"llc %s%s -o - %s\"\n",
-                   (HAVE_LLVM >= 0x0305) ? "[-mcpu=<-mcpu option] " : "",
+                   (HAVE_LLVM >= 0x0305) ? "[-mcpu=<-mcpu option>] " : "",
                    "[-mattr=<-mattr option(s)>]",
                    filename);
    }




More information about the mesa-commit mailing list