From f99f3f4944bb8973899bffc52040c19bb31b6119 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 23 Jul 2007 22:42:15 +0000 Subject: [PATCH] Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40451 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/exact-div-expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CFrontend/exact-div-expr.c b/test/CFrontend/exact-div-expr.c index 6cda9286627..03626c92652 100644 --- a/test/CFrontend/exact-div-expr.c +++ b/test/CFrontend/exact-div-expr.c @@ -1,6 +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) { +long long test(int *A, int *B) { return A-B; } -- 2.34.1