diff options
author | Alon Kom <alon.kom@intel.com> | 2020-09-09 13:17:53 +0000 |
---|---|---|
committer | Jinsong Ji <jji@us.ibm.com> | 2020-09-09 13:38:35 +0000 |
commit | 818cf30b83305fa4a2f75821349210b0f7aff4a4 (patch) | |
tree | 6cb5b63f958ce47f0f8de5060d921cb340e65b07 /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 4358fa782e3def5176f6e70c72de8e65702aeb0f (diff) | |
download | llvm-818cf30b83305fa4a2f75821349210b0f7aff4a4.zip llvm-818cf30b83305fa4a2f75821349210b0f7aff4a4.tar.gz llvm-818cf30b83305fa4a2f75821349210b0f7aff4a4.tar.bz2 |
[MachinePipeliner] Fix II_setByPragma initialization
II_setByPragma was not reset between 2 calls of the MachinePipleiner pass
Reviewed By: bcahoon
Differential Revision: https://reviews.llvm.org/D87088
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachinePipeliner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp index 45a5ef7..7b6f59f 100644 --- a/llvm/lib/CodeGen/MachinePipeliner.cpp +++ b/llvm/lib/CodeGen/MachinePipeliner.cpp @@ -268,6 +268,7 @@ bool MachinePipeliner::scheduleLoop(MachineLoop &L) { void MachinePipeliner::setPragmaPipelineOptions(MachineLoop &L) { // Reset the pragma for the next loop in iteration. disabledByPragma = false; + II_setByPragma = 0; MachineBasicBlock *LBLK = L.getTopBlock(); |