mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 09:54:09 +00:00
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:
parent
135a0428a8
commit
ab466d769a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user