diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-05-09 21:18:38 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-05-09 21:18:38 +0000 |
| commit | d4c569c9736f732d9a6dcb1ff9993d2ee8f07b6c (patch) | |
| tree | ac5f84a50a19a9a1b4c347de0bf0500209486f99 /llvm/lib/CodeGen | |
| parent | 5d190e21922084c8241b4cef44d36470b34b1452 (diff) | |
| download | bcm5719-llvm-d4c569c9736f732d9a6dcb1ff9993d2ee8f07b6c.tar.gz bcm5719-llvm-d4c569c9736f732d9a6dcb1ff9993d2ee8f07b6c.zip | |
Two Cleanups to generated C code:
1. Avoid printing *(&globalvariable), instead print globalvariable alone
as a special case.
2. Inline subexpressions into expressions as much as legal that preserves
execution characteristics of expressions. Now we get nice (but
over-parenthesized, oh well) things like:
ltmp_428_7 = spec__putc(((unsigned char )((bsBuff) >> 24)), (bsStream));
instead of five seperate instructions (bsBuff & bsStream are globals).
llvm-svn: 2587
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

