aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorDavid Stuttard <david.stuttard@amd.com>2021-05-13 14:08:36 +0100
committerDavid Stuttard <david.stuttard@amd.com>2021-07-05 10:33:23 +0100
commitb8173c317812a51354e2874ee6dd5c3150d98ac8 (patch)
treeaafebdb71b90faeb6b9d50e4e07827d4e8657dcb /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent3697f2683695a5e67184c4b348415f4da028133c (diff)
downloadllvm-b8173c317812a51354e2874ee6dd5c3150d98ac8.zip
llvm-b8173c317812a51354e2874ee6dd5c3150d98ac8.tar.gz
llvm-b8173c317812a51354e2874ee6dd5c3150d98ac8.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions