summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-30 18:34:14 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-30 18:34:14 +0000
commit7361846f325e023ffd7927126b58a8f16d6372df (patch)
tree32ed1623e77cce0dbb9043cf21796f291d7913b2 /llvm/lib/CodeGen/MachineFunction.cpp
parent3df6c46fdd4bcf6fcdf7fca8a72fa9185ce8a3b5 (diff)
downloadbcm5719-llvm-7361846f325e023ffd7927126b58a8f16d6372df.tar.gz
bcm5719-llvm-7361846f325e023ffd7927126b58a8f16d6372df.zip
Add MachineInstr::isTransient().
This is a cleaned up version of the isFree() function in MachineTraceMetrics.cpp. Transient instructions are very unlikely to produce any code in the final output. Either because they get eliminated by RegisterCoalescing, or because they are pseudo-instructions like labels and debug values. llvm-svn: 160977
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud