OSDN Git Service

R600: Remove predicated_break inst
authorVincent Lejeune <vljn@ovi.com>
Wed, 31 Jul 2013 19:31:14 +0000 (19:31 +0000)
committerVincent Lejeune <vljn@ovi.com>
Wed, 31 Jul 2013 19:31:14 +0000 (19:31 +0000)
commitacf73503851815f8251b78e3b2e7cf91ef738c50
treeea4bcc1189be360fe65d47a7bcef3f154927604e
parent16e4ed5879da57502ea3686c79c63f86994fbe75
R600: Remove predicated_break inst

We were using two instructions for similar purpose : break and
predicated break. Only predicated_break was emitted and it was
lowered at R600ControlFlowFinalizer to JUMP;CF_BREAK;POP.
This commit simplify the situation by making AMDILCFGStructurizer
emit IF_PREDICATE;BREAK;ENDIF; instead of predicated_break (which
is now removed).

There is no functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187510 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDILCFGStructurizer.cpp
lib/Target/R600/R600ControlFlowFinalizer.cpp
lib/Target/R600/R600ExpandSpecialInstrs.cpp
lib/Target/R600/R600Instructions.td