From f6cd147471fb9a89661e2093731d6d40d4f41c7c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 19 Oct 2005 04:32:04 +0000 Subject: [PATCH] now that tblgen is smarter, use integers directly. This should help Andrew too git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23818 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCInstrInfo.td | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 3a3030a3e6d..e9a55b5be23 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -18,8 +18,6 @@ include "PPCInstrFormats.td" //===----------------------------------------------------------------------===// // PowerPC specific transformation functions and pattern fragments. // -def GET_ZERO : SDNodeXForm; // HACK -def GET_32 : SDNodeXForm; // HACK def LO16 : SDNodeXForm; def : Pat<(zext GPRC:$in), - (RLDICL (OR4To8 GPRC:$in, GPRC:$in), (GET_ZERO imm:$in), - (GET_32 imm:$in))>; + (RLDICL (OR4To8 GPRC:$in, GPRC:$in), 0, 32)>; def : Pat<(anyext GPRC:$in), (OR4To8 GPRC:$in, GPRC:$in)>; def : Pat<(trunc G8RC:$in),