diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-10-11 15:46:56 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-10-11 15:46:56 -0600 |
commit | a78fdbc93fd8919aacf375cc4d40fdd46a9722a0 (patch) | |
tree | a1564139c4d22a9ca55ff442605c87c5750ca62a /src/transformations/loop.cc | |
parent | 098aec2482996b862eab9a3d6e493b2d06133c42 (diff) | |
download | chill-a78fdbc93fd8919aacf375cc4d40fdd46a9722a0.tar.gz chill-a78fdbc93fd8919aacf375cc4d40fdd46a9722a0.tar.bz2 chill-a78fdbc93fd8919aacf375cc4d40fdd46a9722a0.zip |
and or not for constraints
Diffstat (limited to 'src/transformations/loop.cc')
-rw-r--r-- | src/transformations/loop.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transformations/loop.cc b/src/transformations/loop.cc index 72a32d5..95f2c05 100644 --- a/src/transformations/loop.cc +++ b/src/transformations/loop.cc @@ -393,7 +393,7 @@ void Loop::buildIS(std::vector<ir_tree_node*> &ir_tree,std::vector<int> &lexical stmt[loc].loop_level[ii].parallel_level = 0; } // Update lexical ordering for next statement - lexicalOrder.emplace_back(lexicalOrder[lexicalOrder.size()-1] + 1); + lexicalOrder[lexicalOrder.size()-1]++; break; } case IR_CONTROL_LOOP: { @@ -411,6 +411,7 @@ void Loop::buildIS(std::vector<ir_tree_node*> &ir_tree,std::vector<int> &lexical } ctrls.pop_back(); // Update lexical ordering for next statement + lexicalOrder[lexicalOrder.size()-1]++; break; } case IR_CONTROL_IF: { |