mark "addr" as having type "iPTR", eliminating some type comparisons
authorChris Lattner <sabre@nondot.org>
Sun, 14 Feb 2010 21:53:19 +0000 (21:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Feb 2010 21:53:19 +0000 (21:53 +0000)
in hte generated dag isel fil.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96193 91177308-0d34-0410-b5e6-96231b3b80d8

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