Unroll loops by default, add --opt=disable-loop-unroll to disable.

Issue #78.
This commit is contained in:
Matt Pharr
2011-09-13 15:36:34 -07:00
parent 0c344b6755
commit 30f9dcd4f5
5 changed files with 33 additions and 11 deletions

View File

@@ -256,6 +256,7 @@ Opt::Opt() {
level = 1;
fastMath = false;
fastMaskedVload = false;
unrollLoops = true;
disableBlendedMaskedStores = false;
disableCoherentControlFlow = false;
disableUniformControlFlow = false;