diff options
author | Eric Christopher <echristo@apple.com> | 2012-04-03 01:16:32 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-04-03 01:16:32 +0000 |
commit | 0ea6164a7ff685f64ddfe3ec983a2b052ea91afb (patch) | |
tree | dc2014a8d44c550a0ed37c8fb6fb082d771836f7 /lib | |
parent | ea32047660159811a4c14d008a4b7e3807a705d6 (diff) |
Add more constraint registers for mips.
Patch by Jack Carter. Testcase cleanup by me.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Basic/Targets.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index eacdf5e3e1..1fcef3392f 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -3522,6 +3522,9 @@ public: case 'd': // Equivalent to "r" unless generating MIPS16 code. case 'y': // Equivalent to "r", backwards compatibility only. case 'f': // floating-point registers. + case 'c': // $25 for indirect jumps + case 'l': // lo register + case 'x': // hilo register pair Info.setAllowsRegister(); return true; } |