[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 28 11:28:13 PST 2005
Changes in directory llvm/lib/VMCore:
Function.cpp updated: 1.87 -> 1.88
---
Log message:
recognize llvm.prefetch. Patch contributed by Justin Wick!
---
Diffs of the changes: (+3 -0)
Function.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/VMCore/Function.cpp
diff -u llvm/lib/VMCore/Function.cpp:1.87 llvm/lib/VMCore/Function.cpp:1.88
--- llvm/lib/VMCore/Function.cpp:1.87 Sat Jan 29 18:08:49 2005
+++ llvm/lib/VMCore/Function.cpp Mon Feb 28 13:28:00 2005
@@ -253,6 +253,9 @@
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;
More information about the llvm-commits
mailing list