mark "addr" as having type "iPTR", eliminating some type comparisons
[oota-llvm.git] / lib / Target / Mips / MipsInstrInfo.td
index e67bcbfc1771c5d993dadb7e1ce184eac715151c..f16a8053358dea5ab09981cff419b79f85cfba75 100644 (file)
@@ -120,7 +120,7 @@ def immZExt5 : PatLeaf<(imm), [{
 
 // Mips Address Mode! SDNode frameindex could possibily be a match
 // since load and store instructions from stack used it.
-def addr : ComplexPattern<i32, 2, "SelectAddr", [frameindex], []>;
+def addr : ComplexPattern<iPTR, 2, "SelectAddr", [frameindex], []>;
 
 //===----------------------------------------------------------------------===//
 // Instructions specific format