aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMAsmPrinter.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2011-01-01 20:38:38 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2011-01-01 20:38:38 +0000
commit4d7286083537833880901953d29786cf831affc4 (patch)
tree97323f25e86240d07646a4e0173f7b6f23da9ee6 /lib/Target/ARM/ARMAsmPrinter.h
parentbafa117e8f2e3532f391227ebc9d4513b17edbad (diff)
downloadexternal_llvm-4d7286083537833880901953d29786cf831affc4.tar.gz
external_llvm-4d7286083537833880901953d29786cf831affc4.tar.bz2
external_llvm-4d7286083537833880901953d29786cf831affc4.zip
Model operand restrictions of mul-like instructions on ARMv5 via
earlyclobber stuff. This should fix PRs 2313 and 8157. Unfortunately, no testcase, since it'd be dependent on register assignments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.h')
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.h b/lib/Target/ARM/ARMAsmPrinter.h
index c1c12dec42..76a43d4cb8 100644
--- a/lib/Target/ARM/ARMAsmPrinter.h
+++ b/lib/Target/ARM/ARMAsmPrinter.h
@@ -79,6 +79,9 @@ private:
// Helper for ELF .o only
void emitARMAttributeSection();
+ // Generic helper used to emit e.g. ARMv5 mul pseudos
+ void EmitPatchedInstruction(const MachineInstr *MI, unsigned TargetOpc);
+
public:
void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS);