forked from OSchip/llvm-project
recognize llvm.prefetch. Patch contributed by Justin Wick!
llvm-svn: 20377
This commit is contained in:
parent
39637ef023
commit
1772c1a672
|
@ -253,6 +253,9 @@ unsigned Function::getIntrinsicID() const {
|
|||
if (getName() == "llvm.memmove") return Intrinsic::memmove;
|
||||
if (getName() == "llvm.memset") return Intrinsic::memset;
|
||||
break;
|
||||
case 'p':
|
||||
if (getName() == "llvm.prefetch") return Intrinsic::prefetch;
|
||||
break;
|
||||
case 'r':
|
||||
if (getName() == "llvm.returnaddress") return Intrinsic::returnaddress;
|
||||
if (getName() == "llvm.readport") return Intrinsic::readport;
|
||||
|
|
Loading…
Reference in New Issue