Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2006-09-28-SimpleAsm.c
blob1e159e76a48d353b11817a1ce6a7fd61bfdb7fe5
1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2 // PR924
4 void bar(void) {
5 // Extended asm
6 // CHECK: call void asm sideeffect "ext: xorl %eax, eax; movl eax, fs; movl eax, gs %blah
7 asm volatile ("ext: xorl %%eax, eax; movl eax, fs; movl eax, gs %%blah %= %\
8 % " : : "r"(1));
9 // CHECK: call void asm sideeffect "nonext: xorl %eax, %eax; movl %eax, %fs; movl %eax, %gs %%blah %= %%
10 // Non-extended asm.
11 asm volatile ("nonext: xorl %eax, %eax; movl %eax, %fs; movl %eax, %gs %%blah %= %% ");