mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 15:38:57 +00:00
Regenerate.
llvm-svn: 36156
This commit is contained in:
parent
d36a46527a
commit
162b270bd1
@ -5488,9 +5488,9 @@ yyreduce:
|
||||
|
||||
// Check for call to invalid intrinsic to avoid crashing later.
|
||||
if (Function *theF = dyn_cast<Function>(V)) {
|
||||
if (theF->hasName() &&
|
||||
0 == strncmp(theF->getValueName()->getKeyData(), "llvm.", 5) &&
|
||||
!theF->getIntrinsicID(true))
|
||||
if (theF->hasName() && (strlen(theF->getValueName()->getKeyData()) >= 5)&&
|
||||
(0 == strncmp(theF->getValueName()->getKeyData(), "llvm.", 5)) &&
|
||||
!theF->getIntrinsicID(true))
|
||||
GEN_ERROR("Call to invalid LLVM intrinsic function '" +
|
||||
theF->getName() + "'");
|
||||
}
|
||||
|
@ -2823,9 +2823,9 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
|
||||
|
||||
// Check for call to invalid intrinsic to avoid crashing later.
|
||||
if (Function *theF = dyn_cast<Function>(V)) {
|
||||
if (theF->hasName() &&
|
||||
0 == strncmp(theF->getValueName()->getKeyData(), "llvm.", 5) &&
|
||||
!theF->getIntrinsicID(true))
|
||||
if (theF->hasName() && (strlen(theF->getValueName()->getKeyData()) >= 5)&&
|
||||
(0 == strncmp(theF->getValueName()->getKeyData(), "llvm.", 5)) &&
|
||||
!theF->getIntrinsicID(true))
|
||||
GEN_ERROR("Call to invalid LLVM intrinsic function '" +
|
||||
theF->getName() + "'");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user