<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/18/2016 01:33 PM, Tim Northover
via llvm-commits wrote:<br>
</div>
<blockquote
cite="mid:08E89603-2206-4937-BF0C-AEA726AB7164@apple.com"
type="cite">
<blockquote type="cite" style="color: #000000;">
<pre wrap="">This would be good for us. We currently have to deal with a lot of DAG combines switching between trunc and vector extracts
</pre>
</blockquote>
<pre wrap="">I don't quite follow this. They seem pretty incompatible even in the SDag world.
Tim.
</pre>
</blockquote>
<p>We don't really have vectors or truncates, and the DAG type
system is just an obstacle. We just have accesses of 32-bit
subregisters. Various integer operations are lowered by bitcasting
to vectors and manipulating the 32-bit elements. Sometimes this
breaks other combines, usually computeKnownBits sorts of things,
when the truncate is really something like extract_vector_elt
(v2i32 bitcast i64:x), 0</p>
<p><br>
</p>
</body>
</html>