<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/Analysis/CostModel/X86, branch master</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/Analysis/CostModel/X86?h=master</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/Analysis/CostModel/X86?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-04-29T22:42:01Z</updated>
<entry>
<title>TBAA: remove !tbaa from testing cases if not used.</title>
<updated>2013-04-29T22:42:01Z</updated>
<author>
<name>Manman Ren</name>
<email>mren@apple.com</email>
</author>
<published>2013-04-29T22:42:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=e78d832097fc4df6f624150017c54c7a3189cd19'/>
<id>urn:sha1:e78d832097fc4df6f624150017c54c7a3189cd19</id>
<content type='text'>
This will make it easier to turn on struct-path aware TBAA since the metadata
format will change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180743 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>X86 cost model: Exit before calling getSimpleVT on non-simple VTs</title>
<updated>2013-04-17T20:04:53Z</updated>
<author>
<name>Arnold Schwaighofer</name>
<email>aschwaighofer@apple.com</email>
</author>
<published>2013-04-17T20:04:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=9c63f0d687cf1130ee2e76a6fdc87d71ae9d3961'/>
<id>urn:sha1:9c63f0d687cf1130ee2e76a6fdc87d71ae9d3961</id>
<content type='text'>
getSimpleVT can only handle simple value types.

radar://13676022

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179714 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>CostModel: increase the default cost of supported floating point operations from 1 to two. Fixed a few tests that changes because now the cost of one insert + a vector operation on two doubles is lower than two scalar operations on doubles.</title>
<updated>2013-04-12T21:15:03Z</updated>
<author>
<name>Nadav Rotem</name>
<email>nrotem@apple.com</email>
</author>
<published>2013-04-12T21:15:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=9eb366acba65b5779d2129db3a6fb6a0414572d4'/>
<id>urn:sha1:9eb366acba65b5779d2129db3a6fb6a0414572d4</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179413 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>X86 cost model: Model cost for uitofp and sitofp on SSE2</title>
<updated>2013-04-08T18:05:48Z</updated>
<author>
<name>Arnold Schwaighofer</name>
<email>aschwaighofer@apple.com</email>
</author>
<published>2013-04-08T18:05:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=813456527e73f0c1468514c523c6258d360bcd91'/>
<id>urn:sha1:813456527e73f0c1468514c523c6258d360bcd91</id>
<content type='text'>
The costs are overfitted so that I can still use the legalization factor.

For example the following kernel has about half the throughput vectorized than
unvectorized when compiled with SSE2. Before this patch we would vectorize it.

unsigned short A[1024];
double B[1024];
void f() {
  int i;
  for (i = 0; i &lt; 1024; ++i) {
    B[i] = (double) A[i];
  }
}

radar://13599001

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179033 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>TargetLowering: Fix getTypeConversion handling of extended vector types</title>
<updated>2013-04-07T20:22:56Z</updated>
<author>
<name>Arnold Schwaighofer</name>
<email>aschwaighofer@apple.com</email>
</author>
<published>2013-04-07T20:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=cd3d60c4505efad809a3d8b4ba9aed315568f8d8'/>
<id>urn:sha1:cd3d60c4505efad809a3d8b4ba9aed315568f8d8</id>
<content type='text'>
The code in getTypeConversion attempts to promote the element vector type
before it trys to split or widen the vector.
After it failed finding a legal vector type by promoting it would continue using
the promoted vector element type. Thereby missing legal splitted vector types.
For example the type v32i32 that has a legal split of 4 x v3i32 on x86/sse2
would be transformed to: v32i256 and from there on successively split to:
v16i256, v8i256, v1i256 and then finally ends up as an i64 type.
By resetting the vector element type to the original vector element type that
existed before the promotion the code will attempt to split the vector type to
smaller vector widths of the same type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178999 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>X86 cost model: Differentiate cost for vector shifts of constants</title>
<updated>2013-04-04T23:26:24Z</updated>
<author>
<name>Arnold Schwaighofer</name>
<email>aschwaighofer@apple.com</email>
</author>
<published>2013-04-04T23:26:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=2537f3c6597bc1b8eb14c76c8f8e7046be41c9ba'/>
<id>urn:sha1:2537f3c6597bc1b8eb14c76c8f8e7046be41c9ba</id>
<content type='text'>
SSE2 has efficient support for shifts by a scalar. My previous change of making
shifts expensive did not take this into account marking all shifts as expensive.
This would prevent vectorization from happening where it is actually beneficial.

With this change we differentiate between shifts of constants and other shifts.

radar://13576547

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178808 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>X86 cost model: Vector shifts are expensive in most cases</title>
<updated>2013-04-03T21:46:05Z</updated>
<author>
<name>Arnold Schwaighofer</name>
<email>aschwaighofer@apple.com</email>
</author>
<published>2013-04-03T21:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=6b6050b229976a2f53184f6d6857e6f445a869d0'/>
<id>urn:sha1:6b6050b229976a2f53184f6d6857e6f445a869d0</id>
<content type='text'>
The default logic does not correctly identify costs of casts because they are
marked as custom on x86.

For some cases, where the shift amount is a scalar we would be able to generate
better code. Unfortunately, when this is the case the value (the splat) will get
hoisted out of the loop, thereby making it invisible to ISel.

radar://13130673
radar://13537826

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178703 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>X86TTI: Add accurate costs for itofp operations, based on the actual instruction counts.</title>
<updated>2013-04-01T10:23:49Z</updated>
<author>
<name>Benjamin Kramer</name>
<email>benny.kra@googlemail.com</email>
</author>
<published>2013-04-01T10:23:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=13497b3aa7589fc4f9e924f850a7e5151e9ddd2f'/>
<id>urn:sha1:13497b3aa7589fc4f9e924f850a7e5151e9ddd2f</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178459 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Correct cost model for vector shift on AVX2</title>
<updated>2013-03-20T22:01:10Z</updated>
<author>
<name>Michael Liao</name>
<email>michael.liao@intel.com</email>
</author>
<published>2013-03-20T22:01:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=f74e9bf650d7c40d595d3bb60e3c901e2bccec4b'/>
<id>urn:sha1:f74e9bf650d7c40d595d3bb60e3c901e2bccec4b</id>
<content type='text'>
- After moving logic recognizing vector shift with scalar amount from
  DAG combining into DAG lowering, we declare to customize all vector
  shifts even vector shift on AVX is legal. As a result, the cost model
  needs special tuning to identify these legal cases.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177586 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Optimize sext &lt;4 x i8&gt; and &lt;4 x i16&gt; to &lt;4 x i64&gt;.</title>
<updated>2013-03-19T18:38:27Z</updated>
<author>
<name>Nadav Rotem</name>
<email>nrotem@apple.com</email>
</author>
<published>2013-03-19T18:38:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=b05130e1b20ed17ae9d5ab3351933babd27213e1'/>
<id>urn:sha1:b05130e1b20ed17ae9d5ab3351933babd27213e1</id>
<content type='text'>
Patch by Ahmad, Muhammad T &lt;muhammad.t.ahmad@intel.com&gt;



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177421 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
