dblaikie accepted this revision. dblaikie added a comment. This revision is now accepted and ready to land.
I guess this would need a cross-project test case (ie: it'd have to run LLVM optimizations to fail/pass/demonstrate the fix). I think it'd be OK to add one if there's a neat/clean/obvious optimization that can be reliably triggered to do the cloning that would assert/crash - please add one if you think that's practical/reasonable. https://reviews.llvm.org/D33705 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits