Skip to content
Snippets Groups Projects
Commit 9460494f authored by Eric Christopher's avatar Eric Christopher
Browse files

Move the cpu validating virtual method down to the feature routines

where it belongs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244342 91177308-0d34-0410-b5e6-96231b3b80d8
parent 0ae15908
No related branches found
No related tags found
No related merge requests found
......@@ -636,9 +636,6 @@ public:
}
};
// Validate the contents of the __builtin_cpu_supports(const char*) argument.
virtual bool validateCpuSupports(StringRef Name) const { return false; }
// validateOutputConstraint, validateInputConstraint - Checks that
// a constraint is valid and provides information about it.
// FIXME: These should return a real error instead of just true/false.
......@@ -817,6 +814,10 @@ public:
virtual bool hasFeature(StringRef Feature) const {
return false;
}
// \brief Validate the contents of the __builtin_cpu_supports(const char*)
// argument.
virtual bool validateCpuSupports(StringRef Name) const { return false; }
// \brief Returns maximal number of args passed in registers.
unsigned getRegParmMax() const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment