diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-01-01 20:38:38 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-01-01 20:38:38 +0000 |
commit | 62acecd7e1a83c92d63a97d3751163e087eb9cff (patch) | |
tree | 2b00347eab6de5183f04d2a7b1ba889da4c5ef06 /llvm/lib/Target/ARM/ARMAsmPrinter.h | |
parent | a3514441e0461c09a721447975d1c938218f0c88 (diff) | |
download | bcm5719-llvm-62acecd7e1a83c92d63a97d3751163e087eb9cff.tar.gz bcm5719-llvm-62acecd7e1a83c92d63a97d3751163e087eb9cff.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.
llvm-svn: 122663
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMAsmPrinter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.h b/llvm/lib/Target/ARM/ARMAsmPrinter.h index c1c12dec423..76a43d4cb85 100644 --- a/llvm/lib/Target/ARM/ARMAsmPrinter.h +++ b/llvm/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); |