[PATCH] D93963: [GlobalISel][AMDGPU] Lower G_UMULO/G_SMULO
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 4 12:55:45 PST 2021
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:606
+ getActionDefinitionsBuilder({G_UMULO, G_SMULO}).lower();
+
----------------
Would you get better results if you:
1. scalarized vectors first
2. Promoted small scalar types first?
================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umulo.mir:3
+# RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji -global-isel-abort=0 -O0 -run-pass=legalizer %s -o - | FileCheck %s --check-prefix=GFX8
+# RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx906 -global-isel-abort=0 -O0 -run-pass=legalizer %s -o - | FileCheck %s --check-prefix=GFX9
+
----------------
Do you need the abort=0s?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93963/new/
https://reviews.llvm.org/D93963
More information about the llvm-commits
mailing list