summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/regutils.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-15 22:16:39 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-15 22:16:39 +0000
commit6cb96120f1c7726e7350faf22e01f1ea8eae88bf (patch)
tree076edf39b20bb7ee4488fb09f45729c680c98a46 /llvm/lib/Support/regutils.h
parenteb46f78b08fa97de1339305c136f95b29a3e7ed3 (diff)
downloadbcm5719-llvm-6cb96120f1c7726e7350faf22e01f1ea8eae88bf.tar.gz
bcm5719-llvm-6cb96120f1c7726e7350faf22e01f1ea8eae88bf.zip
Fold predicable instructions into MOVCC / t2MOVCC.
The ARM select instructions are just predicated moves. If the select is the only use of an operand, the instruction defining the operand can be predicated instead, saving one instruction and decreasing register pressure. This implementation can turn AND/ORR/EOR instructions into their corresponding ANDCC/ORRCC/EORCC variants. Ideally, we should be able to predicate any instruction, but we don't yet support predicated instructions in SSA form. llvm-svn: 161994
Diffstat (limited to 'llvm/lib/Support/regutils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud