[PATCH] D130364: [LV] Recognize store of invariant value to invariant address as uniform

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 05:14:45 PDT 2022


david-arm added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll:96
 ; FORCE-NEXT:    [[TMP2:%.*]] = icmp ule <2 x i32> [[VEC_IND]], <i32 2, i32 2>
+; FORCE-NEXT:    store i32 [[TMP0]], i32* @b, align 1
+; FORCE-NEXT:    store i32 [[TMP1]], i32* @b, align 1
----------------
Hi @reames, something doesn't look right about this change because each store instruction is storing out a different value.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130364



More information about the llvm-commits mailing list