davidxl added inline comments.

================
Comment at: clang/test/CodeGen/pr30188.c:3
@@ +2,3 @@
+
+// Check that optimizers are able to optimize the number of loads in the loop.
+// CHECK: load
----------------
Can you just do 

... | grep load  | count 3

================
Comment at: clang/test/CodeGen/pr30188.c:7
@@ +6,3 @@
+// CHECK: load
+// CHECK-NOT: load
+
----------------
Also check there is no store

================
Comment at: clang/test/CodeGenCXX/pr30188.cpp:5
@@ +4,3 @@
+// CHECK: load
+// CHECK-NOT: load
+
----------------
check no store as well?


https://reviews.llvm.org/D24097



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

Reply via email to