Author: Bill Wendling
Date: 2020-02-25T12:31:53-08:00
New Revision: 6d0d1a63f2a6c120f206a83e7c1ddae9fa5a569a

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

LOG: Use "nop" to avoid size warnings.

Added: 
    

Modified: 
    clang/test/Analysis/uninit-asm-goto.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Analysis/uninit-asm-goto.cpp 
b/clang/test/Analysis/uninit-asm-goto.cpp
index 74ef261fb655..1d573b90016e 100644
--- a/clang/test/Analysis/uninit-asm-goto.cpp
+++ b/clang/test/Analysis/uninit-asm-goto.cpp
@@ -3,7 +3,7 @@
 
 int test1(int x) {
     int y;
-    asm goto("# %0 %1 %l2" : "=r"(y) : "r"(x) : : err);
+    asm goto("nop" : "=r"(y) : "r"(x) : : err);
     return y;
   err:
     return -1;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to