llvm-project/llvm/test/Transforms/SimplifyLibCalls
Dan Gohman 93dc2b808f Revert r64460. strtol and friends cannot be marked readonly, even with
a null endptr argument, because they may write to errno.

This fixes a seflhost miscompile observed on Linux targets when TBAA
was enabled.

llvm-svn: 122014
2010-12-17 01:09:43 +00:00
..
2005-05-20-sprintf-crash.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2007-04-06-strchr-miscompile.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-05-19-memcmp.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2009-01-04-Annotate.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2009-02-11-NotInitialized.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2009-02-12-StrTo.ll Revert r64460. strtol and friends cannot be marked readonly, even with 2010-12-17 01:09:43 +00:00
2009-05-30-memcmp-byte.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2009-07-28-Exit.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2009-07-29-Exit2.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2010-05-30-memcpy-Struct.ll The memcpy intrinsic only takes i8* for %src and %dst, so cast them to that 2010-05-31 06:16:35 +00:00
FFS.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
FPrintF.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
FPuts.ll Fix a typo. 2010-11-30 06:03:55 +00:00
IsDigit.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
MemCpy.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
PR7357.ll Make sure that simplify libcalls does not replace a call with one calling 2010-06-16 19:34:01 +00:00
Printf.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
Puts.ll Add a puts optimization that converts puts() to putchar('\n'). 2010-11-30 06:19:18 +00:00
SPrintF.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
StrCat.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
StrChr.ll Simplify the loop in StrChrOptimizer. FileCheckize test. 2010-09-29 22:29:12 +00:00
StrCmp.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
StrCpy.ll Reapply address space patch after fixing an issue in MemCopyOptimizer. 2010-04-04 03:10:48 +00:00
StrLen.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
StrNCat.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
StrNCmp.ll simplify-libcalls: fold strncmp(x, y, 1) -> memcmp(x, y, 1) 2010-06-16 10:30:29 +00:00
StrNCpy.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
StrPBrk.ll Add strpbrk folding to SimplifyLibCalls. 2010-09-29 23:52:12 +00:00
StrRChr.ll Teach SimplifyLibCalls how to optimize strrchr. 2010-09-29 21:50:51 +00:00
StrSpn.ll Fix some broken CHECK lines. 2010-11-29 22:34:55 +00:00
StrStr.ll simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0 2010-06-15 21:34:25 +00:00
ToAscii.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
abs.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
dg.exp
exp2.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
floor.ll test/Transforms/SimplifyLibCalls/floor.ll: Mark as XFAIL:win32 due to lack of nearbyintf on MSVC. [PR8466] 2010-10-28 06:46:04 +00:00
half-powr.ll Use opt -S instead of piping bitcode output through llvm-dis. 2009-09-08 22:34:10 +00:00
memcmp.ll Properly promote operands when optimizing a single-character memcmp. 2010-05-25 22:53:43 +00:00
memmove.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
memset-64.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
memset.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
pow-to-sqrt.ll Fix SimplifyLibCalls to transfer attributes from callees rather than 2009-09-26 18:10:13 +00:00
pow2.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
weak-symbols.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00