mark "addr" as having type "iPTR", eliminating some type comparisons

in hte generated dag isel fil.

llvm-svn: 96193
This commit is contained in:
Chris Lattner 2010-02-14 21:53:19 +00:00
parent 8d7e9178d4
commit f036c806b3

View 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