Mesa (master): gallivm: Remove NoFramePointerElimNonLeaf for LLVM >= 3.4.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Jul 25 16:50:19 UTC 2013
Module: Mesa
Branch: master
Commit: 60c248c3aff1d6a23d60afeaed78c50e4af00b8c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=60c248c3aff1d6a23d60afeaed78c50e4af00b8c
Author: Vinson Lee <vlee at freedesktop.org>
Date: Wed Jul 24 23:28:27 2013 -0700
gallivm: Remove NoFramePointerElimNonLeaf for LLVM >= 3.4.
TargetOptions::NoFramePointerElimNonLeaf was removed in LLVM 3.4
r187093.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: José Fonseca <jfonseca at vmware.com>
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 1e5adb7..e09bb78 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -281,7 +281,9 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
#endif
#if defined(DEBUG) || defined(PROFILE)
+#if HAVE_LLVM < 0x0304
options.NoFramePointerElimNonLeaf = true;
+#endif
options.NoFramePointerElim = true;
#endif
More information about the mesa-commit
mailing list