aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-04-27 03:54:17 +0000
committerAndrew Trick <atrick@apple.com>2013-04-27 03:54:17 +0000
commitbcda43135c0f28779a7d23543fdb24dc8ea34af1 (patch)
tree817759f373a4184f0f8bff3f837efcaa6d9f6a6b /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent94c08a7b6699a75836e7e24e2c285c01ff67b632 (diff)
downloadllvm-bcda43135c0f28779a7d23543fdb24dc8ea34af1.zip
llvm-bcda43135c0f28779a7d23543fdb24dc8ea34af1.tar.gz
llvm-bcda43135c0f28779a7d23543fdb24dc8ea34af1.tar.bz2
Add target flags to MachineMemOperands.
This seems to me an obvious place to allow target passes to annotate memory operations. There are plenty of bits, and I'm not aware of another good way for early target passes to propagate hints along to later passes. Target independent transforms can simply preserve them, the way they preserve the other flags. Like MachineMemOperands in general, if the target flags are lost we must still generate correct code. This has lots of uses, but I want this flexibility now to make it easier to work with the new MachineTraceMetrics analysis. MachineTraceMetrics can gather a lot of information about instructions based on the surrounding code. This information can be used to influence postRA machine passes that don't work on SSA form. llvm-svn: 180666
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions