[PATCH] D22531: [LSV] Add detail to correct-order.ll test.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 16:26:28 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL276053: [LSV] Add detail to correct-order.ll test. (authored by jlebar).

Changed prior to commit:
  https://reviews.llvm.org/D22531?vs=64560&id=64600#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D22531

Files:
  llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll

Index: llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll
===================================================================
--- llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll
+++ llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll
@@ -3,12 +3,13 @@
 target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
 
 ; CHECK-LABEL: @correct_order(
-; CHECK: bitcast i32*
-; CHECK: load <2 x i32>
-; CHECK: load i32
-; CHECK: bitcast i32*
+; CHECK: [[LOAD_PTR:%[0-9]+]] = bitcast i32* %next.gep1
+; CHECK: load <2 x i32>, <2 x i32>* [[LOAD_PTR]]
+; CHECK: load i32, i32* %next.gep
+; CHECK: [[STORE_PTR:%[0-9]+]] = bitcast i32* %next.gep
 ; CHECK: store <2 x i32>
-; CHECK: load i32
+; CHECK-SAME: <2 x i32>* [[STORE_PTR]]
+; CHECK: load i32, i32* %next.gep1
 define void @correct_order(i32* noalias %ptr) {
   %next.gep = getelementptr i32, i32* %ptr, i64 0
   %next.gep1 = getelementptr i32, i32* %ptr, i64 1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22531.64600.patch
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160719/a92d5b2b/attachment.bin>


More information about the llvm-commits mailing list