<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/utils/FileCheck, branch release_27</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/utils/FileCheck?h=release_27</id>
<link rel='self' href='https://git.amat.us/llvm/atom/utils/FileCheck?h=release_27'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2010-01-30T00:24:06Z</updated>
<entry>
<title>FileCheck: When looking for "possible matches", only compare against the prefix</title>
<updated>2010-01-30T00:24:06Z</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2010-01-30T00:24:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=0806f9ff5860ce351540ff2897dec1667154ca19'/>
<id>urn:sha1:0806f9ff5860ce351540ff2897dec1667154ca19</id>
<content type='text'>
line. Turns out edit_distance can be slow if the string we are scanning for
happens to be quite large.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94860 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Minor code cleanup.</title>
<updated>2010-01-29T21:57:46Z</updated>
<author>
<name>Dan Gohman</name>
<email>gohman@apple.com</email>
</author>
<published>2010-01-29T21:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=e3a1e506809acbddceb6840914879c498d454f26'/>
<id>urn:sha1:e3a1e506809acbddceb6840914879c498d454f26</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94848 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Skip whitespace when looking for a potential intended match.</title>
<updated>2010-01-29T21:55:16Z</updated>
<author>
<name>Dan Gohman</name>
<email>gohman@apple.com</email>
</author>
<published>2010-01-29T21:55:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=d8a5541a513695039d1eb83eeced05d51ce9f567'/>
<id>urn:sha1:d8a5541a513695039d1eb83eeced05d51ce9f567</id>
<content type='text'>
Before:

&lt;stdin&gt;:94:1: note: possible intended match here
 movsd 4096(%rsi), %xmm0
^

After:
&lt;stdin&gt;:94:2: note: possible intended match here
 movsd 4096(%rsi), %xmm0
 ^


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94847 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix the position of the caret in the FileCheck error message.</title>
<updated>2010-01-29T21:53:18Z</updated>
<author>
<name>Dan Gohman</name>
<email>gohman@apple.com</email>
</author>
<published>2010-01-29T21:53:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=e546343799d1b7914024b62f6c188f5c0d66f7b3'/>
<id>urn:sha1:e546343799d1b7914024b62f6c188f5c0d66f7b3</id>
<content type='text'>
Before:

test/CodeGen/X86/lsr-reuse.ll:52:34: error: expected string not found in input
; CHECK: movsd -2048(%rsi), %xmm0
                                 ^

After:

test/CodeGen/X86/lsr-reuse.ll:52:10: error: expected string not found in input
; CHECK: movsd -2048(%rsi), %xmm0
         ^


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94846 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>FileCheck: Switch "possible match" calculation to use StringRef::edit_distance.</title>
<updated>2010-01-29T03:22:19Z</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2010-01-29T03:22:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=8cdf54c222e911f09b57ab0d8fdd3408979df91b'/>
<id>urn:sha1:8cdf54c222e911f09b57ab0d8fdd3408979df91b</id>
<content type='text'>
 - Thanks Doug, who is obviously less lazy than me!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94795 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix FileCheck crash when fuzzy scanning starting at the end of the file.</title>
<updated>2009-11-29T08:30:24Z</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2009-11-29T08:30:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a76a7883b557c315f29dbf95155dd5ae0352fecf'/>
<id>urn:sha1:a76a7883b557c315f29dbf95155dd5ae0352fecf</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90065 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>FileCheck, PR5239: Try to find the intended match on failures, but looking for a</title>
<updated>2009-11-22T22:59:26Z</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2009-11-22T22:59:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=ead2dacc9ee028906cb104c8c3d66ccbbebe6b10'/>
<id>urn:sha1:ead2dacc9ee028906cb104c8c3d66ccbbebe6b10</id>
<content type='text'>
good nearby fuzzy match. Frequently the input is nearly correct, and just
showing the user the a nearby sensible match is enough to diagnose the problem.
 - The "fuzzyness" is pretty simple and arbitrary, but worked on my three test
   cases. If you encounter problems, or places you think FileCheck should have
   guessed but didn't, please add test cases to PR5239.

For example, previously FileCheck would report this:
--
t.cpp:21:55: error: expected string not found in input
// CHECK: define void @_Z2f25f2_s1([[i64_i64_ty]] %a0)
                                                      ^
&lt;stdin&gt;:19:30: note: scanning from here
define void @_Z2f15f1_s1(%1) nounwind {
                             ^
&lt;stdin&gt;:19:30: note: with variable "i64_i64_ty" equal to "%0"
--

and now it also reports this:
--
&lt;stdin&gt;:27:1: note: possible intended match here
define void @_Z2f25f2_s1(%0) nounwind {
^
--

which makes it clear that the CHECK just has an extra ' %a0' in it, without
having to check the input.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89631 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>FileCheck: When a string using variable references fails to match, print</title>
<updated>2009-11-22T22:08:06Z</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2009-11-22T22:08:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=fafe93c8bcbc538573bc5e890f24f9869a11f846'/>
<id>urn:sha1:fafe93c8bcbc538573bc5e890f24f9869a11f846</id>
<content type='text'>
additional information about the current definitions of the variables used in
the string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89628 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Allow '_' in FileCheck variable names, it is nice to have at least one</title>
<updated>2009-11-22T22:07:50Z</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2009-11-22T22:07:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=964ac012017451ff24c33e6b749ec3223e1d291a'/>
<id>urn:sha1:964ac012017451ff24c33e6b749ec3223e1d291a</id>
<content type='text'>
separate character.
 - Chris, OK?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89626 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>implement and document support for filecheck variables.  This</title>
<updated>2009-09-27T07:56:52Z</updated>
<author>
<name>Chris Lattner</name>
<email>sabre@nondot.org</email>
</author>
<published>2009-09-27T07:56:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=eec96958cd53ebb61bebfd3af416ace380df6f6c'/>
<id>urn:sha1:eec96958cd53ebb61bebfd3af416ace380df6f6c</id>
<content type='text'>
allows matching and remembering a string and then matching and
verifying that the string occurs later in the file.

Change X86/xor.ll to use this in some cases where the test was
checking for an arbitrary register allocation decision.


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