[PATCH] D51428: SLPVectorizer: Fix assert with different sized address spaces

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 31 06:36:39 PDT 2018


lebedev.ri added inline comments.


================
Comment at: test/Transforms/SLPVectorizer/AMDGPU/address-space-ptr-sze-gep-index-assert.ll:9-14
+; CHECK-LABEL: @slp_scev_assert(
+; CHECK: %tmp = addrspacecast i8 addrspace(5)* undef to i8*
+; CHECK-NEXT: %tmp2 = getelementptr inbounds i8, i8 addrspace(5)* undef, i32 %idx
+; CHECK-NEXT: %tmp4 = getelementptr inbounds i8, i8* %tmp, i64 %tmp3
+; CHECK-NEXT: store i8 0, i8 addrspace(5)* %tmp2
+; CHECK-NEXT: store i8 0, i8* %tmp4
----------------
You need to manually cleanup the old manually-generated check-lines.


https://reviews.llvm.org/D51428





More information about the llvm-commits mailing list