diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-06-20 21:23:06 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-06-20 21:23:06 +0000 |
| commit | 2d4e8f7e86cbfacce0407130df89cc1374ac9637 (patch) | |
| tree | eeb0ad1c60a007e367ffc8c975600341bf659311 /llvm/docs/CommandGuide | |
| parent | 4810c26d0482b3853fceb1fdbb5fe1130de79edc (diff) | |
| download | bcm5719-llvm-2d4e8f7e86cbfacce0407130df89cc1374ac9637.tar.gz bcm5719-llvm-2d4e8f7e86cbfacce0407130df89cc1374ac9637.zip | |
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
llvm-svn: 28879
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions

