llvm-for-llvmta/tools/clang/test/CodeGen/exact-div-expr.c

7 lines
162 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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;
}