summaryrefslogtreecommitdiff
path: root/lib/Target/X86/InstPrinter
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-03-30 23:13:40 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-03-30 23:13:40 +0000
commitcef670a3a3fd448edfb38d8b513f5aa775257352 (patch)
tree929bb94752e715e619d834be7f2f147dd540851a /lib/Target/X86/InstPrinter
parentbf3c322640fdaf6e4a60a59ed8cb108a7f6685ad (diff)
downloadllvm-cef670a3a3fd448edfb38d8b513f5aa775257352.tar.gz
llvm-cef670a3a3fd448edfb38d8b513f5aa775257352.tar.bz2
llvm-cef670a3a3fd448edfb38d8b513f5aa775257352.tar.xz
Rip out emission of the regIsInRegClass function for the asm printer.
It's slow, bloated and completely redundant with MCRegisterClass::contains. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstPrinter')
-rw-r--r--lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
index b7ccb4c09b..ec35d3c911 100644
--- a/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
+++ b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
@@ -19,6 +19,7 @@
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCExpr.h"
+#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/FormattedStream.h"