summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodePlacementOpt.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-30 06:24:14 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-30 06:24:14 +0000
commit45715b25f79ebdff1a187284d5c9830fd69e09b6 (patch)
tree5a2d705d9870c2d0d6f1d58fd7f18a8b474c0537 /llvm/lib/CodeGen/CodePlacementOpt.cpp
parentdda435bcefac9d6c126e2d7d0411751ac31fa428 (diff)
downloadbcm5719-llvm-45715b25f79ebdff1a187284d5c9830fd69e09b6.tar.gz
bcm5719-llvm-45715b25f79ebdff1a187284d5c9830fd69e09b6.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: 164910
Diffstat (limited to 'llvm/lib/CodeGen/CodePlacementOpt.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud