[all-commits] [llvm/llvm-project] b8173c: [AMDGPU] Stop mulhi from doing 24 bit mul for unif...
David Stuttard via All-commits
all-commits at lists.llvm.org
Mon Jul 5 02:34:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b8173c317812a51354e2874ee6dd5c3150d98ac8
https://github.com/llvm/llvm-project/commit/b8173c317812a51354e2874ee6dd5c3150d98ac8
Author: David Stuttard <david.stuttard at amd.com>
Date: 2021-07-05 (Mon, 05 Jul 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
M llvm/test/CodeGen/AMDGPU/mul_int24.ll
M llvm/test/CodeGen/AMDGPU/mul_uint24-amdgcn.ll
Log Message:
-----------
[AMDGPU] Stop mulhi from doing 24 bit mul for uniform values
Added support to check if architecture supports s_mulhi which is used as part of
the decision whether or not to use valu 24 bit mul (if the mulhi gets
transformed to a valu op anyway, then may as well use it).
This is an extension of the work in D97063
Differential Revision: https://reviews.llvm.org/D103321
Change-Id: I80b1323de640a52623d69ac005a97d06a5d42a14
More information about the All-commits
mailing list