R600: Correctly handle vertex fetch clauses the precede ENDIFs
authorTom Stellard <thomas.stellard@amd.com>
Thu, 23 Jan 2014 18:49:31 +0000 (18:49 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 23 Jan 2014 18:49:31 +0000 (18:49 +0000)
commitcbf79028c32a2cac90717ab768e083a13ade4792
tree0bced7ae8cdf5fcb287b331aa8b6b4605bbc39d5
parent01df2fa3c427b49b60da9ea19b6c42ae13e0a134
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199917 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/R600ControlFlowFinalizer.cpp
test/CodeGen/R600/vtx-fetch-branch.ll [new file with mode: 0644]