ahatanak added a comment.

LGTM with a nit in test case.


================
Comment at: llvm/tools/clang/test/CodeGen/vecshift.c:43
@@ +42,3 @@
+  vi8 = 1 << vi8;
+// CHECK: [[t2:%.+]] = load <8 x i32>, <8 x i32>* @vi8, align 32
+// CHECK: shl <8 x i32> <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 
1>, [[t2]]
----------------
This test fails on my machine because MaxVectorAlign is 128 (16B) for darwin. 
Maybe you can remove the alignment checks or add a triple to the RUN line?


https://reviews.llvm.org/D24467



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

Reply via email to