commit | 71400b6afa3a650cac0ace1beb24a35518555f56 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Fri Jul 15 18:25:04 2011 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Fri Jul 15 18:25:04 2011 +0000 |
tree | 0343a3363d0754d6ea5c7b9cde6ae20001803a2c | |
parent | 167eb1f90392f196a62293bdee68b0d662546e7d [diff] |
Disable loop idiom recognition of memset/memcpy if the function being compiled is named after a common idiom (i.e., memset/memcpy). Otherwise, we can run into infinite recursion. Ideally, the user should use the correct -fno-builtin flag, but in case they don't we should play nicely. rdar://9763412 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135286 91177308-0d34-0410-b5e6-96231b3b80d8