commit | f27bb6de10b8a1b4b2e52b137ffda68c6ba0b9f4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jun 20 21:23:06 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jun 20 21:23:06 2006 +0000 |
tree | 50f2ecded78a885f9e1faec1c3b05a5adcc51a57 | |
parent | 094ee721cc12907151ccef41a627078594260836 [diff] |
Add some patterns for globals, so we can now compile this: static unsigned long long X, Y; void test1() { X = Y; } into: _test1: lis r2, ha16(_Y) lis r3, ha16(_X) ld r2, lo16(_Y)(r2) std r2, lo16(_X)(r3) blr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28879 91177308-0d34-0410-b5e6-96231b3b80d8