Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / AArch64 / sve-inline-asm-negative-test.c
blob5f551fcc8b0b097aa7425bde27e9f1be96509049
1 // REQUIRES: aarch64-registered-target
3 // RUN: not %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve \
4 // RUN: -target-feature +neon -S -O1 -o - %s | FileCheck %s
6 // Assembler error
7 // Output constraint : Set a vector constraint on an integer
8 __SVFloat32_t funcB2()
10 __SVFloat32_t ret ;
11 asm volatile (
12 "fmov %[ret], wzr \n"
13 : [ret] "=w" (ret)
15 :);
17 return ret ;
20 // CHECK: funcB2
21 // CHECK-ERROR: error: invalid operand for instruction