floor/ceil don't read/write memory. This allows gcse to eliminate 6 calls

in mesa.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-08-24 16:58:56 +00:00
parent 135a0428a8
commit ab466d769a

View File

@ -720,6 +720,8 @@ static const char *DoesntAccessMemoryTable[] = {
"hypot",
"sin", "sinf", "sinl",
"tan", "tanf", "tanl", "tanh", "tanhf", "tanhl",
"floor", "floorf", "floorl", "ceil", "ceilf", "ceill",
// ctype.h
"isalnum", "isalpha", "iscntrl", "isdigit", "isgraph", "islower", "isprint"