diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-16 21:01:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-16 21:01:35 +0000 |
commit | 059ca0f5b712e5460dcbccfa802b7adb3bccbac9 (patch) | |
tree | 59eaef85631eca776526132022a7ecb675a222c8 /lib/CodeGen/DwarfWriter.cpp | |
parent | 956f43c3109f207bb91ef5f5a3cb12303ed28f8c (diff) |
fix some assumptions that pointers can only be 32-bits. With this, we can
now compile:
static unsigned long X;
void test1() {
X = 0;
}
into:
_test1:
lis r2, ha16(_X)
li r3, 0
stw r3, lo16(_X)(r2)
blr
Totally amazing :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
0 files changed, 0 insertions, 0 deletions