diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-09-30 22:05:33 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-09-30 22:05:33 +0000 |
commit | 6e08738d4b1bb6c087d81bca656c24cdc1d504f8 (patch) | |
tree | 35ba29f8b4f14324f198a0468ecd58647d2c229e /test/CodeGen/X86/darwin-bzero.ll | |
parent | 0483d018c4f15f206a83364e498957127e74f431 (diff) | |
download | external_llvm-6e08738d4b1bb6c087d81bca656c24cdc1d504f8.zip external_llvm-6e08738d4b1bb6c087d81bca656c24cdc1d504f8.tar.gz external_llvm-6e08738d4b1bb6c087d81bca656c24cdc1d504f8.tar.bz2 |
Just don't transform this memset into "bzero" if no-builtin is specified.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/darwin-bzero.ll')
-rw-r--r-- | test/CodeGen/X86/darwin-bzero.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/darwin-bzero.ll b/test/CodeGen/X86/darwin-bzero.ll index 941577e..63185cc 100644 --- a/test/CodeGen/X86/darwin-bzero.ll +++ b/test/CodeGen/X86/darwin-bzero.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 | grep __bzero -; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 -no-builtin | grep _bzero +; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 -no-builtin | grep _memset declare void @llvm.memset.i32(i8*, i8, i32, i32) |