mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 15:38:57 +00:00
Regenerate
llvm-svn: 36179
This commit is contained in:
parent
52d73dba41
commit
226017813d
@ -5488,7 +5488,7 @@ yyreduce:
|
||||
|
||||
// Check for call to invalid intrinsic to avoid crashing later.
|
||||
if (Function *theF = dyn_cast<Function>(V)) {
|
||||
if (theF->hasName() && (strlen(theF->getValueName()->getKeyData()) >= 5)&&
|
||||
if (theF->hasName() && (theF->getValueName()->getKeyLength() >= 5) &&
|
||||
(0 == strncmp(theF->getValueName()->getKeyData(), "llvm.", 5)) &&
|
||||
!theF->getIntrinsicID(true))
|
||||
GEN_ERROR("Call to invalid LLVM intrinsic function '" +
|
||||
|
@ -2823,7 +2823,7 @@ 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() && (strlen(theF->getValueName()->getKeyData()) >= 5)&&
|
||||
if (theF->hasName() && (theF->getValueName()->getKeyLength() >= 5) &&
|
||||
(0 == strncmp(theF->getValueName()->getKeyData(), "llvm.", 5)) &&
|
||||
!theF->getIntrinsicID(true))
|
||||
GEN_ERROR("Call to invalid LLVM intrinsic function '" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user