summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/objc-pp.m
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-09-07 22:43:19 +0000
committerSean Callanan <scallanan@apple.com>2010-09-07 22:43:19 +0000
commit1e87fffb4171f12d7061d887ced3757a0ed09bc9 (patch)
treef4fb8c64c408223bb3f58b60e166d60f43d3c5a6 /clang/test/Preprocessor/objc-pp.m
parent4d19d2651db1ae869c5719fca5a6804f2abada34 (diff)
downloadbcm5719-llvm-1e87fffb4171f12d7061d887ced3757a0ed09bc9.tar.gz
bcm5719-llvm-1e87fffb4171f12d7061d887ced3757a0ed09bc9.zip
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 'clang/test/Preprocessor/objc-pp.m')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud