Benjamin Kramer
|
1118860e3a
|
simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0
llvm-svn: 106047
|
2010-06-15 21:34:25 +00:00 |
Chris Lattner
|
f278addbdc
|
reapply my strstr optimization. I have reproduced the x86-64 bootstrap
miscompile (i386.o miscompares) but it happens both with and without
this patch.
llvm-svn: 91532
|
2009-12-16 09:32:05 +00:00 |
Chris Lattner
|
177be32334
|
revert my strstr optimization, I'm told it breaks x86-64 bootstrap.
Will reapply with a fix when I get a chance.
llvm-svn: 91486
|
2009-12-16 00:46:02 +00:00 |
Chris Lattner
|
26ab363361
|
optimize strstr, PR5783
llvm-svn: 91438
|
2009-12-15 19:14:40 +00:00 |