[llvm-commits] CVS: llvm/lib/Target/TargetSelectionDAG.td

Evan Cheng evan.cheng at apple.com
Thu Jun 15 01:19:17 PDT 2006



Changes in directory llvm/lib/Target:

TargetSelectionDAG.td updated: 1.67 -> 1.68
---
Log message:

Vector extract / insert index operand should have ptr type.

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

 TargetSelectionDAG.td |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.67 llvm/lib/Target/TargetSelectionDAG.td:1.68
--- llvm/lib/Target/TargetSelectionDAG.td:1.67	Sat Apr 22 13:53:45 2006
+++ llvm/lib/Target/TargetSelectionDAG.td	Thu Jun 15 03:19:05 2006
@@ -320,9 +320,9 @@
 def scalar_to_vector : SDNode<"ISD::SCALAR_TO_VECTOR", SDTypeProfile<1, 1, []>,
                               []>;
 def vector_extract : SDNode<"ISD::EXTRACT_VECTOR_ELT",
-    SDTypeProfile<1, 2, []>, []>;
+    SDTypeProfile<1, 2, [SDTCisPtrTy<2>]>, []>;
 def vector_insert : SDNode<"ISD::INSERT_VECTOR_ELT",
-    SDTypeProfile<1, 3, [SDTCisSameAs<0, 1>]>, []>;
+    SDTypeProfile<1, 3, [SDTCisSameAs<0, 1>, SDTCisPtrTy<3>]>, []>;
 
 // Nodes for intrinsics, you should use the intrinsic itself and let tblgen use
 // these internally.  Don't reference these directly.






More information about the llvm-commits mailing list