[PATCH] D93397: [VectorCombine] loosen alignment constraint for load transform

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 09:22:46 PST 2020


lebedev.ri added inline comments.


================
Comment at: llvm/test/Transforms/VectorCombine/X86/load.ll:409
 
 define <4 x float> @load_f32_insert_v4f32_align(float* align 1 dereferenceable(16) %p) {
 ; CHECK-LABEL: @load_f32_insert_v4f32_align(
----------------
`align 1` here doesn't actually say that the alignment is/will be exactly `1`, it specifies the lower bound,
it is perfectly fine for the actual pointer to be 1024-byte aligned instead.


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

https://reviews.llvm.org/D93397



More information about the llvm-commits mailing list