summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/ast-codegen.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-12-15 22:00:51 +0000
committerBob Wilson <bob.wilson@apple.com>2009-12-15 22:00:51 +0000
commite44756d7c2f3423dd2610e33dcbc30762877c3ed (patch)
treebf6b8c2225aad8160fcd51d96949d1bcde92236f /clang/test/Frontend/ast-codegen.c
parentc6d3c5ef76e06e9acd13bf5f83c32b2ad9ccde85 (diff)
downloadbcm5719-llvm-e44756d7c2f3423dd2610e33dcbc30762877c3ed.tar.gz
bcm5719-llvm-e44756d7c2f3423dd2610e33dcbc30762877c3ed.zip
Reapply 91184 with fixes and an addition to the testcase to cover the problem
found last time. Instead of trying to modify the IR while iterating over it, I've change it to keep a list of WeakVH references to dead instructions, and then delete those instructions later. I also added some special case code to detect and handle the situation when both operands of a memcpy intrinsic are referencing the same alloca. llvm-svn: 91459
Diffstat (limited to 'clang/test/Frontend/ast-codegen.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud