[llvm-commits] [llvm] r96213 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Chris Lattner sabre at nondot.org
Sun Feb 14 22:39:31 PST 2010


Author: lattner
Date: Mon Feb 15 00:39:31 2010
New Revision: 96213

URL: http://llvm.org/viewvc/llvm-project?rev=96213&view=rev
Log:
don't make insanely large node numbers for no reason,
packing somewhat densely is better than not.

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=96213&r1=96212&r2=96213&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Mon Feb 15 00:39:31 2010
@@ -609,7 +609,7 @@
   /// which do not reference a specific memory location should be less than
   /// this value. Those that do must not be less than this value, and can
   /// be used with SelectionDAG::getMemIntrinsicNode.
-  static const int FIRST_TARGET_MEMORY_OPCODE = 1 << 14;
+  static const int FIRST_TARGET_MEMORY_OPCODE = BUILTIN_OP_END+80;
 
   /// Node predicates
 





More information about the llvm-commits mailing list