projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f72282
)
recognize llvm.prefetch. Patch contributed by Justin Wick!
author
Chris Lattner
<sabre@nondot.org>
Mon, 28 Feb 2005 19:28:00 +0000
(19:28 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 28 Feb 2005 19:28:00 +0000
(19:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20377
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Function.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Function.cpp
b/lib/VMCore/Function.cpp
index 19f437aeb881d152295093a52326753ebd373b3f..ae4a549509ed577f3a249b2f4fe279a6db958851 100644
(file)
--- a/
lib/VMCore/Function.cpp
+++ b/
lib/VMCore/Function.cpp
@@
-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;