Use the bit size of the operand instead of the hard-coded 32 to generate the
authorBill Wendling <isanbard@gmail.com>
Mon, 24 Mar 2008 23:16:37 +0000 (23:16 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 24 Mar 2008 23:16:37 +0000 (23:16 +0000)
commit3e98c30cf5dd450879c0b9d6404353b02e2429c3
tree170b010898def458df8645a03735dc44fb9f1db2
parentdf4613ced2d5d1025575f70a16f1fac9bcc2669d
Use the bit size of the operand instead of the hard-coded 32 to generate the
mask.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48750 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/2008-03-24-AddressRegImm.ll [new file with mode: 0644]