<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/stack-alloc-string-slice.rs, branch 1.6.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.6.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.6.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-05-27T10:08:31+00:00</updated>
<entry>
<title>Revamp codegen tests to check IR quality instead of quantity</title>
<updated>2015-05-27T10:08:31+00:00</updated>
<author>
<name>Björn Steinbrink</name>
<email>bsteinbr@gmail.com</email>
</author>
<published>2015-05-24T16:07:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=677367599e8383c355b8e8261cafe3ce44c9c6de'/>
<id>urn:sha1:677367599e8383c355b8e8261cafe3ce44c9c6de</id>
<content type='text'>
The current codegen tests only compare IR line counts between similar
rust and C programs, the latter getting compiled with clang. That looked
like a good idea back then, but actually things like lifetime intrinsics
mean that less IR isn't always better, so the metric isn't really
helpful.

Instead, we can start doing tests that check specific aspects of the
generated IR, like attributes or metadata. To do that, we can use LLVM's
FileCheck tool which has a number of useful features for such tests.

To start off, I created some tests for a few things that were recently
added and/or broken.
</content>
</entry>
<entry>
<title>Add `pub` to all the codegen tests</title>
<updated>2013-10-10T13:00:51+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-10-10T13:00:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=caf7b678dd2f07918b47120aa73a1bca51d12da1'/>
<id>urn:sha1:caf7b678dd2f07918b47120aa73a1bca51d12da1</id>
<content type='text'>
Otherwise the test function is internalized and LLVM will most likely optimize
it out.
</content>
</entry>
<entry>
<title>test: add more codegen tests, add copyright headers to all.</title>
<updated>2013-07-31T22:02:22+00:00</updated>
<author>
<name>Graydon Hoare</name>
<email>graydon@mozilla.com</email>
</author>
<published>2013-07-31T22:01:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8261f2c37c7181fb4a40e8f8d9eaebb96deea9bb'/>
<id>urn:sha1:8261f2c37c7181fb4a40e8f8d9eaebb96deea9bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: new codegen tests, rename hello.</title>
<updated>2013-07-17T00:44:57+00:00</updated>
<author>
<name>Graydon Hoare</name>
<email>graydon@mozilla.com</email>
</author>
<published>2013-07-17T00:42:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40f74341f3ba2cee2afedb31014ee14432d700cd'/>
<id>urn:sha1:40f74341f3ba2cee2afedb31014ee14432d700cd</id>
<content type='text'>
</content>
</entry>
</feed>
