diff options
| author | Tom Stellard <thomas.stellard@amd.com> | 2014-01-23 18:49:31 +0000 |
|---|---|---|
| committer | Tom Stellard <thomas.stellard@amd.com> | 2014-01-23 18:49:31 +0000 |
| commit | 805890b252e567d200079702ec0d7250ecaebd6d (patch) | |
| tree | 44ab216c1929c5d3abe321caf746d2f810195014 /llvm/lib | |
| parent | 8cce9bdf179c29c3652d4862d6317d7e2e7a411c (diff) | |
| download | bcm5719-llvm-805890b252e567d200079702ec0d7250ecaebd6d.tar.gz bcm5719-llvm-805890b252e567d200079702ec0d7250ecaebd6d.zip | |
R600: Correctly handle vertex fetch clauses the precede ENDIFs
The control flow finalizer would sometimes use an ALU_POP_AFTER
instruction before the vetex fetch clause instead of using a POP
instruction after it.
llvm-svn: 199917
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/R600/R600ControlFlowFinalizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/R600ControlFlowFinalizer.cpp b/llvm/lib/Target/R600/R600ControlFlowFinalizer.cpp index 470ff2e1079..f74bef3c9b2 100644 --- a/llvm/lib/Target/R600/R600ControlFlowFinalizer.cpp +++ b/llvm/lib/Target/R600/R600ControlFlowFinalizer.cpp @@ -501,6 +501,7 @@ public: DEBUG(dbgs() << CfCount << ":"; I->dump();); FetchClauses.push_back(MakeFetchClause(MBB, I)); CfCount++; + LastAlu.back() = 0; continue; } |

