> I don't think it's going to be even vaguely that bad here and that you're
> blowing it a bit out of proportion. [...] It does make the tests a little 
> harder
> to write, but having done a bunch of them it's not that bad.

I've also tried to write such tests in the past, and I did find it that bad.

> Also you're relying on the behavior of
> backend optimizations to figure out what's going on with your clang IR
> generation which also seems less than optimal.

I think it's fine if it leads to simpler tests that are easier to
maintain. It's not completely isolated, but none of the testing we do
really is.

Tim.
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to