[all-commits] [llvm/llvm-project] 40202b: [AMDGPU] Legalize operands of V_ADDC_U32_e32 and f...
Jay Foad via All-commits
all-commits at lists.llvm.org
Tue Aug 3 01:05:09 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40202b13b23290a6e20900896838c2dbbfb281bd
https://github.com/llvm/llvm-project/commit/40202b13b23290a6e20900896838c2dbbfb281bd
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-08-03 (Tue, 03 Aug 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/test/CodeGen/AMDGPU/uaddo.ll
Log Message:
-----------
[AMDGPU] Legalize operands of V_ADDC_U32_e32 and friends
These instructions have an implicit use of vcc which counts towards the
constant bus limit. Pre gfx10 this means that the explicit operands
cannot be sgprs. Use the custom inserter hook to call legalizeOperands
to enforce that restriction.
Fixes https://bugs.llvm.org/show_bug.cgi?id=51217
Differential Revision: https://reviews.llvm.org/D106868
More information about the All-commits
mailing list