[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / X86 / x86_inlineasm_curly_bracket_escape.c
blobd1ac654284f047778aaa325f0e27827a012ced0d
1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-cpu skylake-avx512 -O0 -emit-llvm -o - -Wall -Werror | FileCheck %s
2 // This test checks validity of inline assembly using curly brackets syntax
3 // for extended inline asm.
5 void test_curly_brackets(void) {
6 //CHECK: %xmm1,%xmm0,%xmm1 {%k1}{z}
7 asm("vpaddb\t %%xmm1,%%xmm0,%%xmm1 %{%%k1%}%{z%}\t":::);