projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
077775b
)
Change optimize level to -O2, to avoid loopunswitch opt.
author
Yang Rong
<rong.r.yang@intel.com>
Wed, 9 Oct 2013 06:36:26 +0000
(14:36 +0800)
committer
Zhigang Gong
<zhigang.gong@linux.intel.com>
Wed, 9 Oct 2013 09:35:41 +0000
(17:35 +0800)
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/backend/program.cpp
patch
|
blob
|
history
diff --git
a/backend/src/backend/program.cpp
b/backend/src/backend/program.cpp
index
ffd31d9
..
f05899e
100644
(file)
--- a/
backend/src/backend/program.cpp
+++ b/
backend/src/backend/program.cpp
@@
-475,7
+475,7
@@
namespace gbe {
// XXX we haven't implement those builtin functions,
// so disable it currently.
args.push_back("-fno-builtin");
- if(bOpt) args.push_back("-O
3
");
+ if(bOpt) args.push_back("-O
2
");
#if LLVM_VERSION_MINOR <= 2
args.push_back("-triple");
args.push_back("nvptx");