xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/exact-div-expr.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o - -O1 | grep ashr
2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o - -O1 | not grep sdiv
3*f4a2713aSLionel Sambuc 
test(int * A,int * B)4*f4a2713aSLionel Sambuc long long test(int *A, int *B) {
5*f4a2713aSLionel Sambuc   return A-B;
6*f4a2713aSLionel Sambuc }
7