diff options
author | Sean Callanan <scallanan@apple.com> | 2010-09-07 22:43:19 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-09-07 22:43:19 +0000 |
commit | 1e87fffb4171f12d7061d887ced3757a0ed09bc9 (patch) | |
tree | f4fb8c64c408223bb3f58b60e166d60f43d3c5a6 /llvm/docs/CommandGuide | |
parent | 4d19d2651db1ae869c5719fca5a6804f2abada34 (diff) | |
download | llvm-1e87fffb4171f12d7061d887ced3757a0ed09bc9.zip llvm-1e87fffb4171f12d7061d887ced3757a0ed09bc9.tar.gz llvm-1e87fffb4171f12d7061d887ced3757a0ed09bc9.tar.bz2 |
Fixed a bug where we did not handle constant
expressions correctly. These produced a result
variable with an initializer but no store
instruction, and the store instruction was as
a result never rewritten to become a store to a
persistent variable.
Now if the result variable has an initializer
but is never used, we generate a (redundant)
store instruction for it, which is then later
rewritten into a (useful) store to the persistent
result variable.
llvm-svn: 113300
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions