[PATCH] Fix use-after-kill in TailDuplication
Pete Cooper
peter_cooper at apple.com
Mon Jun 1 10:55:33 PDT 2015
I think you're right that my patch fixed it, but yours is useful too.
I haven't looked too closely, but if you really are able to avoid adding entries to the Copies vector, then you are potentially reducing the work this pass does and speeding it up. You might even avoid creating useless copy instructions that DCE would later remove. So i'd try land this change too if you can.
Cheers,
Pete
http://reviews.llvm.org/D6263
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list