Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / Mips / inline-asm-constraints.c
blob88afe8735083b4d5f1ea13019a79c2b8a900d724
1 // RUN: %clang_cc1 -emit-llvm -triple mips -target-feature +soft-float %s -o - | FileCheck %s --check-prefix=SOFT_FLOAT
3 // SOFT_FLOAT: call void asm sideeffect "", "r,~{$1}"(float %1)
4 void read_float(float *p) {
5 __asm__("" ::"r"(*p));
8 // SOFT_FLOAT: call void asm sideeffect "", "r,~{$1}"(double %1)
9 void read_double(double *p) {
10 __asm__("" :: "r"(*p));