summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-09 21:18:38 +0000
committerChris Lattner <sabre@nondot.org>2002-05-09 21:18:38 +0000
commitd4c569c9736f732d9a6dcb1ff9993d2ee8f07b6c (patch)
treeac5f84a50a19a9a1b4c347de0bf0500209486f99 /llvm/lib/CodeGen
parent5d190e21922084c8241b4cef44d36470b34b1452 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud