diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-25 00:32:44 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-25 00:32:44 +0000 |
commit | c6cd9afd15f0f83ee07844e592d2a698416f33ca (patch) | |
tree | 277fa0f6d130577f15f543236d5cd2475371860e /lib/Basic/Targets.cpp | |
parent | 0ca6e27138e2fe12e03284d4d820182702141a7d (diff) |
Revert r166647 to rethink the patch...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 960a2858e4..ba96185f72 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -3315,29 +3315,6 @@ public: } return R; } - virtual bool validateConstraintModifier(StringRef Constraint, - const char Modifier, - unsigned Size) const { - // Strip off constraint modifiers. - while (Constraint[0] == '=' || - Constraint[0] == '+' || - Constraint[0] == '&') - Constraint = Constraint.substr(1); - - switch (Constraint[0]) { - default: break; - case 'r': { - switch (Modifier) { - default: return Size == 32; - case 'q': - // A register of size 32 cannot fit a vector type. - return false; - } - } - } - - return true; - } virtual const char *getClobbers() const { // FIXME: Is this really right? return ""; |