hanchenye-llvm-project/clang/test/CodeGen/exact-div-expr.c

7 lines
162 B
C

// RUN: %clang_cc1 -emit-llvm %s -o - -O1 | grep ashr
// RUN: %clang_cc1 -emit-llvm %s -o - -O1 | not grep sdiv
long long test(int *A, int *B) {
return A-B;
}