aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-04-07 21:20:06 +0000
committerBill Wendling <isanbard@gmail.com>2011-04-07 21:20:06 +0000
commit44dcfd36253570ccd5f00189eb918604473135e0 (patch)
treed78ce020afdf85e2676e5f378b33bcac36f1f005 /lib/MC/ELFObjectWriter.cpp
parente578252c27a85f3e63eb749006def6d0ce5ef1e1 (diff)
Replace the old algorithm that emitted the "print the alias for an instruction"
with the newer, cleaner model. It uses the IAPrinter class to hold the information that is needed to match an instruction with its alias. This also takes into account the available features of the platform. There is one bit of ugliness. The way the logic determines if a pattern is unique is O(N**2), which is gross. But in reality, the number of items it's checking against isn't large. So while it's N**2, it shouldn't be a massive time sink. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions