aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCInstrInfo.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-11 07:45:47 +0000
committerChris Lattner <sabre@nondot.org>2005-12-11 07:45:47 +0000
commitd717b19933f1e99617205c5f0c0340e6c9cccbfc (patch)
treecef3df8a0a5d09e6b561f7eea31271ee2d3065c4 /lib/Target/PowerPC/PPCInstrInfo.td
parent84384546e2f3c34755938ee1629fc6a7754bb783 (diff)
downloadexternal_llvm-d717b19933f1e99617205c5f0c0340e6c9cccbfc.zip
external_llvm-d717b19933f1e99617205c5f0c0340e6c9cccbfc.tar.gz
external_llvm-d717b19933f1e99617205c5f0c0340e6c9cccbfc.tar.bz2
Remove type casts that are no longer needed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index 51f0525..62b36b8 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -940,10 +940,10 @@ def : Pat<(srl G8RC:$in, (i64 imm:$imm)),
(RLDICL G8RC:$in, (SRL64 imm:$imm), imm:$imm)>;
// Hi and Lo for Darwin Global Addresses.
-def : Pat<(PPChi tglobaladdr:$in, (i32 0)), (LIS tglobaladdr:$in)>;
-def : Pat<(PPClo tglobaladdr:$in, (i32 0)), (LI tglobaladdr:$in)>;
-def : Pat<(PPChi tconstpool:$in, (i32 0)), (LIS tconstpool:$in)>;
-def : Pat<(PPClo tconstpool:$in, (i32 0)), (LI tconstpool:$in)>;
+def : Pat<(PPChi tglobaladdr:$in, 0), (LIS tglobaladdr:$in)>;
+def : Pat<(PPClo tglobaladdr:$in, 0), (LI tglobaladdr:$in)>;
+def : Pat<(PPChi tconstpool:$in, 0), (LIS tconstpool:$in)>;
+def : Pat<(PPClo tconstpool:$in, 0), (LI tconstpool:$in)>;
def : Pat<(add GPRC:$in, (PPChi tglobaladdr:$g, 0)),
(ADDIS GPRC:$in, tglobaladdr:$g)>;
def : Pat<(add GPRC:$in, (PPChi tconstpool:$g, 0)),