1. Added the function isOpcWithIntImmediate to simplify testing of operand with
authorJim Laskey <jlaskey@mac.com>
Thu, 11 Aug 2005 21:59:23 +0000 (21:59 +0000)
committerJim Laskey <jlaskey@mac.com>
Thu, 11 Aug 2005 21:59:23 +0000 (21:59 +0000)
commit191cf943e68a8b3a14e5f19cf0279b8216da8dd7
treeacdab0db73cc8db60bfabe4dd64e0319a92b837b
parent2b48bc6f9556d8dc3af50e6acde06f7a69a5280a
1. Added the function isOpcWithIntImmediate to simplify testing of operand with
specified opcode and an integer constant right operand.

2. Modified ISD::SHL, ISD::SRL, ISD::SRA to use rlwinm when applied after a mask.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22761 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelPattern.cpp
test/CodeGen/PowerPC/rlwinm.ll