Changes in directory llvm/utils/TableGen:

IntrinsicEmitter.cpp updated: 1.19 -> 1.20
---
Log message:

Adjust the Intrinsics.gen interface a little bit


---
Diffs of the changes:  (+2 -2)

 IntrinsicEmitter.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/utils/TableGen/IntrinsicEmitter.cpp
diff -u llvm/utils/TableGen/IntrinsicEmitter.cpp:1.19 
llvm/utils/TableGen/IntrinsicEmitter.cpp:1.20
--- llvm/utils/TableGen/IntrinsicEmitter.cpp:1.19       Thu Mar 30 22:48:26 2006
+++ llvm/utils/TableGen/IntrinsicEmitter.cpp    Sat Apr  1 21:35:30 2006
@@ -214,9 +214,9 @@
 
 void IntrinsicEmitter::
 EmitSideEffectInfo(const std::vector<CodeGenIntrinsic> &Ints, std::ostream 
&OS){
-  OS << "// isInstructionTriviallyDead code.\n";
+  OS << "// Return true if doesn't access or only reads memory.\n";
   OS << "#ifdef GET_SIDE_EFFECT_INFO\n";
-  OS << "  switch (F->getIntrinsicID()) {\n";
+  OS << "  switch (IntrinsicID) {\n";
   OS << "  default: break;\n";
   for (unsigned i = 0, e = Ints.size(); i != e; ++i) {
     switch (Ints[i].ModRef) {



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to