brintos

brintos / llvm-project-archived public Read only

0
0
Text · 342 B · 4a11eca Raw
20 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-apple-darwin92// RUN: %clang_cc1 %s -emit-llvm -o - -triple=powerpc64-ibm-aix-xcoff3 4typedef unsigned long long uint64_t;5extern uint64_t numer;6extern uint64_t denom;7 8uint64_t9f(uint64_t val)10{11    __uint128_t tmp;12 13    tmp = val;14    tmp *= numer;15    tmp /= denom;16 17    return tmp;18}19 20