[llvm] r276053 - [LSV] Add detail to correct-order.ll test.
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 16:18:59 PDT 2016
Author: jlebar
Date: Tue Jul 19 18:18:59 2016
New Revision: 276053
URL: http://llvm.org/viewvc/llvm-project?rev=276053&view=rev
Log:
[LSV] Add detail to correct-order.ll test.
Summary:
This helps keep us honest -- there were a number of ways we could screw
up and still have passed this test.
Reviewers: asbirlea
Subscribers: llvm-commits, arsenm
Differential Revision: https://reviews.llvm.org/D22531
Modified:
llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll
Modified: llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll?rev=276053&r1=276052&r2=276053&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll (original)
+++ llvm/trunk/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll Tue Jul 19 18:18:59 2016
@@ -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
More information about the llvm-commits
mailing list