diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-02-16 21:52:05 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-16 21:52:05 +0000 |
| commit | e28b3598817572f6c1c9e97d30c013a85b8952bb (patch) | |
| tree | bc79780d3dbd5dfe534c8d820ce8c6e6b2f27590 /clang/test/CodeGen/builtin-memfns.c | |
| parent | 58b0589d738f13909328540a3451e65e2cf8e99b (diff) | |
| download | bcm5719-llvm-e28b3598817572f6c1c9e97d30c013a85b8952bb.tar.gz bcm5719-llvm-e28b3598817572f6c1c9e97d30c013a85b8952bb.zip | |
Fix IRgen of __builtin_memset.
- Fix test case to not only have negative tests.
llvm-svn: 64674
Diffstat (limited to 'clang/test/CodeGen/builtin-memfns.c')
| -rw-r--r-- | clang/test/CodeGen/builtin-memfns.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/CodeGen/builtin-memfns.c b/clang/test/CodeGen/builtin-memfns.c index d28a48c5374..52b3a1d174a 100644 --- a/clang/test/CodeGen/builtin-memfns.c +++ b/clang/test/CodeGen/builtin-memfns.c @@ -1,4 +1,8 @@ -// RUN: clang -emit-llvm -o - %s | not grep __builtin +// RUN: clang -arch i386 -emit-llvm -o %t %s && +// RUN: grep '@llvm.memset.i32' %t && +// RUN: grep '@llvm.memcpy.i32' %t && +// RUN: grep '@llvm.memmove.i32' %t && +// RUN: grep __builtin %t | count 0 int main(int argc, char **argv) { unsigned char a = 0x11223344; |

