OSDN Git Service

Add some more immediate patterns. This allows us to compile:
authorChris Lattner <sabre@nondot.org>
Tue, 20 Jun 2006 23:03:01 +0000 (23:03 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Jun 2006 23:03:01 +0000 (23:03 +0000)
commit3ae5eef0278db0cff59f714ab4b2124ec31b942e
treeae6365165fcb4152dffe986f97c192e637899c29
parenteded521a17fa2b39f6b1f9af5943036312bb3149
Add some more immediate patterns.  This allows us to compile:

void test6() {
  Y = 0xABCD0123BCDE4567;
}

into:

_test6:
        lis r2, -21555
        lis r3, ha16(_Y)
        ori r2, r2, 291
        rldicr r2, r2, 32, 31
        oris r2, r2, 48350
        ori r2, r2, 17767
        std r2, lo16(_Y)(r3)
        blr

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28885 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td