summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-08 23:08:06 +0000
committerChris Lattner <sabre@nondot.org>2008-01-08 23:08:06 +0000
commit51b01bf8a5dd655b047ffc4a9b431daf4e1a60d4 (patch)
tree7fc2d5c110badc8eae94740bb18821f0cf2c2b7a /clang/CodeGen/CodeGenModule.cpp
parent965a8961c7f7f62b043f601e793ff3c0b20e31bc (diff)
downloadbcm5719-llvm-51b01bf8a5dd655b047ffc4a9b431daf4e1a60d4.tar.gz
bcm5719-llvm-51b01bf8a5dd655b047ffc4a9b431daf4e1a60d4.zip
Make load->store deletion a bit smarter. This allows us to compile this:
void test(long long *P) { *P ^= 1; } into just: _test: movl 4(%esp), %eax xorl $1, (%eax) ret instead of code like this: _test: movl 4(%esp), %ecx xorl $1, (%ecx) movl 4(%ecx), %edx movl %edx, 4(%ecx) ret llvm-svn: 45762
Diffstat (limited to 'clang/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud