<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 2/15/2017 10:30 AM, Ryan Taylor via
llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CABgVvXuqvojWXd4kKuqR+ihG+_X6KebXPUzKnv0zwaHBMBJNgA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Where do in-tree archs handle the difference in this
example? The difference being printed either the signed or
unsigned value.</div>
<div><br>
</div>
<div>Thanks.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 15, 2017 at 1:28 PM, Ryan
Taylor <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ryta1203@gmail.com" target="_blank">ryta1203@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Right, I understand that.</div>
<div><br>
</div>
<div>So why is 0x7FFF matching fine but not 0x8000 both
fit in 16 bit?</div>
<div><br>
</div>
<div>Thanks.</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
It's hard to say why your pattern isn't matching without actually
seeing the pattern.<br>
<br>
See imm0_4095 in ARMInstrThumb2.td for an example of the sort of
pattern you want.<br>
<br>
-Eli<br>
<pre class="moz-signature" cols="72">--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
</body>
</html>