mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
[TargetLibraryInfo] Define enumerator for no library function (NFC)
Add a null enumerator do designate no library function. llvm-svn: 370947
This commit is contained in:
parent
a06a2b5f16
commit
1222e2dc7d
@ -30,11 +30,12 @@ struct VecDesc {
|
||||
unsigned VectorizationFactor;
|
||||
};
|
||||
|
||||
enum LibFunc {
|
||||
enum LibFunc : unsigned {
|
||||
#define TLI_DEFINE_ENUM
|
||||
#include "llvm/Analysis/TargetLibraryInfo.def"
|
||||
|
||||
NumLibFuncs
|
||||
NumLibFuncs,
|
||||
NotLibFunc
|
||||
};
|
||||
|
||||
/// Implementation of the target library information.
|
||||
|
@ -1478,6 +1478,7 @@ bool TargetLibraryInfoImpl::isValidProtoForLibFunc(const FunctionType &FTy,
|
||||
return false;
|
||||
}
|
||||
case LibFunc::NumLibFuncs:
|
||||
case LibFunc::NotLibFunc:
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user