diff options
| author | Eric Christopher <echristo@apple.com> | 2011-07-29 21:18:58 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2011-07-29 21:18:58 +0000 |
| commit | aa5030066fb56c3ce918bd7cdd2ecf2d552fc2b2 (patch) | |
| tree | b2d3df862d62e9995df1d05defc47121950a3a7b /llvm/lib/Target | |
| parent | 67d7136f260ff606da42fe6e8894370964df8569 (diff) | |
| download | bcm5719-llvm-aa5030066fb56c3ce918bd7cdd2ecf2d552fc2b2.tar.gz bcm5719-llvm-aa5030066fb56c3ce918bd7cdd2ecf2d552fc2b2.zip | |
Add support for the 'Q' constraint.
Fixes rdar://9866494
llvm-svn: 136523
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 903efd79989..46b42996834 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -7596,6 +7596,9 @@ ARMTargetLowering::getConstraintType(const std::string &Constraint) const { case 'x': return C_RegisterClass; case 't': return C_RegisterClass; case 'j': return C_Other; // Constant for movw. + // An address with a single base register. Due to the way we + // currently handle addresses it is the same as an 'r' memory constraint. + case 'Q': return C_Memory; } } else if (Constraint.size() == 2) { switch (Constraint[0]) { |

