[PATCH] D52685: [LoopVectorizer] Adjust heuristics for a truncated load

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 2 04:55:35 PDT 2018


jonpa added inline comments.


================
Comment at: test/Transforms/LoopVectorize/SystemZ/maxVF_truncload.ll:5
+;
+; CHECK: LV: The Smallest and Widest types: 32 / 32 bits.
+; CHECK: LV: Selecting VF: 4.
----------------
Ayal wrote:
> `Smallest` type should indeed be 32 bits, but `Widest` should (remain) 64 bits; unless the type of the original load should be ignored?
I am not sure I follow here - 'Smallest' was 32 even without this patch, but 'Widest' was 64, right?


https://reviews.llvm.org/D52685





More information about the llvm-commits mailing list