[PATCH] D101477: [SLP]Fix the crash on cost calculation if non-compatible vectors shuffled.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 30 08:45:49 PDT 2021
ABataev marked an inline comment as done.
ABataev added inline comments.
================
Comment at: llvm/test/Transforms/SLPVectorizer/AMDGPU/add_sub_sat.ll:226
-define <3 x i16> @uadd_sat_v3i16(<3 x i16> %arg0, <3 x i16> %arg1) {
-; GFX7-LABEL: @uadd_sat_v3i16(
+define <2 x i16> @uadd_sat_v9i16_combine_vi16(<9 x i16> %arg0, <9 x i16> %arg1) {
+; GFX7-LABEL: @uadd_sat_v9i16_combine_vi16(
----------------
spatel wrote:
> Add a new test instead of changing the existing test?
> IIUC, it's not the "GFX7" run that is crashing, but we don't have any check lines for "GFX8"? It would be better to just create a new file without "-instcombine", so we can see exactly what SLP will create on this test.
Done, thanks and sorry for the mess with the previous test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101477/new/
https://reviews.llvm.org/D101477
More information about the llvm-commits
mailing list