summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-14 21:53:19 +0000
committerChris Lattner <sabre@nondot.org>2010-02-14 21:53:19 +0000
commit4aa57ba3ef77d660eb80acf8bad05870afc37087 (patch)
tree22cad9354fe432e3d0973e004faa191a51453c6a /llvm/lib
parentb3d9942c51067e6b034087571c9c3ccd5dabe450 (diff)
downloadbcm5719-llvm-4aa57ba3ef77d660eb80acf8bad05870afc37087.tar.gz
bcm5719-llvm-4aa57ba3ef77d660eb80acf8bad05870afc37087.zip
mark "addr" as having type "iPTR", eliminating some type comparisons
in hte generated dag isel fil. llvm-svn: 96193
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/MipsInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.td b/llvm/lib/Target/Mips/MipsInstrInfo.td
index e67bcbfc177..f16a8053358 100644
--- a/llvm/lib/Target/Mips/MipsInstrInfo.td
+++ b/llvm/lib/Target/Mips/MipsInstrInfo.td
@@ -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
OpenPOWER on IntegriCloud