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),