[PATCH] D89577: [VectorCombine] Avoid crossing address space boundaries.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 11:37:19 PDT 2020


spatel added inline comments.


================
Comment at: llvm/test/Transforms/VectorCombine/AMDGPU/as-transition.ll:17
+; CHECK-NEXT:    [[TMP0:%.*]] = bitcast float* [[C]] to <1 x float>*
+; CHECK-NEXT:    [[TMP1:%.*]] = load <1 x float>, <1 x float>* [[TMP0]], align 4
+; CHECK-NEXT:    [[E:%.*]] = shufflevector <1 x float> [[TMP1]], <1 x float> undef, <4 x i32> <i32 0, i32 undef, i32 undef, i32 undef>
----------------
We still want to create a vector load rather than just bail out on the address-space mismatch?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89577/new/

https://reviews.llvm.org/D89577



More information about the llvm-commits mailing list