[clang] ee10d93 - Fix typo so that '-O0' is correctly specified

Bill Wendling via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 5 13:17:31 PST 2019


Author: Bill Wendling
Date: 2019-11-05T13:15:55-08:00
New Revision: ee10d934dddd49eccfd3b6e6ae8f02551b1a03a4

URL: https://github.com/llvm/llvm-project/commit/ee10d934dddd49eccfd3b6e6ae8f02551b1a03a4
DIFF: https://github.com/llvm/llvm-project/commit/ee10d934dddd49eccfd3b6e6ae8f02551b1a03a4.diff

LOG: Fix typo so that '-O0' is correctly specified

Added: 
    

Modified: 
    clang/test/CodeGen/asm-goto.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/asm-goto.c b/clang/test/CodeGen/asm-goto.c
index 97f2158d8afa..7692fbc6797b 100644
--- a/clang/test/CodeGen/asm-goto.c
+++ b/clang/test/CodeGen/asm-goto.c
@@ -1,16 +1,16 @@
 // REQUIRES: x86-registered-target
 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -O0 -emit-llvm %s -o - | FileCheck %s
-// RUN: %clang_cc1 -triple i386-pc-linux-gnu-O0 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -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
+  // CHECK: to label %asm.fallthrough [label %label_true, label %loop]
   // 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
+  // CHECK: to label %asm.fallthrough1 [label %label_true, label %loop]
   // CHECK: asm.fallthrough1:
   return 0;
 loop:


        


More information about the cfe-commits mailing list