summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-29 06:33:25 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-29 06:33:25 +0000
commita2e7ea2f183d328bc9960c34015ba975daf78a12 (patch)
tree924826975e196417d607c3e0b0e3011e7aef0e99 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent4bd4e7e3ba8315c4180da954f0af40bbcb07f624 (diff)
downloadbcm5719-llvm-a2e7ea2f183d328bc9960c34015ba975daf78a12.tar.gz
bcm5719-llvm-a2e7ea2f183d328bc9960c34015ba975daf78a12.zip
A DAGCombine optimization for merging consecutive stores. This optimization is not profitable in many cases
because moden processos can store multiple values in parallel, and preparing the consecutive store requires some work. We only handle these cases: 1. Consecutive stores where the values and consecutive loads. For example: int a = p->a; int b = p->b; q->a = a; q->b = b; 2. Consecutive stores where the values are constants. Foe example: q->a = 4; q->b = 5; llvm-svn: 164885
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud