diff options
author | Erich Keane <erich.keane@intel.com> | 2019-05-30 15:38:02 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2019-05-30 15:38:02 +0000 |
commit | d0f34fd19850c79f8741301c3bfe0312ca24324c (patch) | |
tree | d11a14843235915243dc65478eb97f80753ceb8c /clang/test/CodeGen/asm-goto.c | |
parent | e6ddde57e27e03054fd0a7cd627ce7917559a690 (diff) | |
download | bcm5719-llvm-d0f34fd19850c79f8741301c3bfe0312ca24324c.tar.gz bcm5719-llvm-d0f34fd19850c79f8741301c3bfe0312ca24324c.zip |
Revert "clang support gnu asm goto."
This reverts commit 954ec09aed4f2be04bb5f4e10dbb4ea8bd19ef9a.
Reverting due to test failures as requested by Jennifer Yu.
Conflicts:
clang/test/CodeGen/asm-goto.c
llvm-svn: 362106
Diffstat (limited to 'clang/test/CodeGen/asm-goto.c')
-rw-r--r-- | clang/test/CodeGen/asm-goto.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/clang/test/CodeGen/asm-goto.c b/clang/test/CodeGen/asm-goto.c deleted file mode 100644 index 99e97f2a41e..00000000000 --- a/clang/test/CodeGen/asm-goto.c +++ /dev/null @@ -1,19 +0,0 @@ -// REQUIRES: x86-registered-target -// RUN: %clang_cc1 -triple x86_64 -O0 -emit-llvm %s -o - | FileCheck %s - -int foo(int cond) -{ - // CHECK: callbr void asm sideeffect - // CHECK: to label %asm.fallthrough [label %label_true, label %loop], !srcloc !2 - // CHECK: asm.fallthrough: - asm volatile goto("testl %0, %0; jne %l1;" :: "r"(cond)::label_true, loop); - asm volatile goto("testl %0, %0; jne %l1;" :: "r"(cond)::label_true, loop); - // CHECK: callbr void asm sideeffect - // CHECK: to label %asm.fallthrough1 [label %label_true, label %loop], !srcloc !3 - // CHECK: asm.fallthrough1: - return 0; -loop: - return 0; -label_true: - return 1; -} |