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 | d0c668c380d4bc9654e49b663e77d00fb80dbb9f (patch) | |
tree | a6eb7607f06f2156ea8a5086a61bc22bd505ebf0 /lib/Transforms/Scalar/PiNodeInsertion.cpp | |
parent | 4fbf26d2fc9dda6fe03dcd6288ef8efb5f89988b (diff) |
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/PiNodeInsertion.cpp')
0 files changed, 0 insertions, 0 deletions