commit | 3f63a589788995a724bc4587d022fe15ea8576ba | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Mon Jul 30 18:34:14 2012 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Mon Jul 30 18:34:14 2012 +0000 |
tree | c017ccce3ee57858e9607baf5adb76f32e7feac8 | |
parent | a1b2bf79796d8c44b1321a69a7236b85c33ef7ca [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160977 91177308-0d34-0410-b5e6-96231b3b80d8