diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-07-15 22:30:34 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-07-15 22:30:34 +0000 |
| commit | ec6480e235819caeaf969da5b98a16a90a234ccd (patch) | |
| tree | 5435ee79ef32af42e78942af87c7fdee0da7d8f0 /llvm/test/CFrontend/exact-div-expr.c | |
| parent | d4fef8dbca826462c117cd45c39187cb1d828b5a (diff) | |
| download | bcm5719-llvm-ec6480e235819caeaf969da5b98a16a90a234ccd.tar.gz bcm5719-llvm-ec6480e235819caeaf969da5b98a16a90a234ccd.zip | |
new testcase
llvm-svn: 39882
Diffstat (limited to 'llvm/test/CFrontend/exact-div-expr.c')
| -rw-r--r-- | llvm/test/CFrontend/exact-div-expr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CFrontend/exact-div-expr.c b/llvm/test/CFrontend/exact-div-expr.c new file mode 100644 index 00000000000..6cda9286627 --- /dev/null +++ b/llvm/test/CFrontend/exact-div-expr.c @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -S %s -o - -O | grep ashr +// RUN: %llvmgcc -S %s -o - -O | not grep sdiv + +int test(int *A, int *B) { + return A-B; +} |

