[all-commits] [llvm/llvm-project] 46db60: AMDGPU: Avoid folding 2 constant operands into an ...
David Stuttard via All-commits
all-commits at lists.llvm.org
Wed Dec 4 02:40:26 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 46db60683422180688bff0737142c343ba28e7cb
https://github.com/llvm/llvm-project/commit/46db60683422180688bff0737142c343ba28e7cb
Author: David Stuttard <david.stuttard at amd.com>
Date: 2019-12-04 (Wed, 04 Dec 2019)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
A llvm/test/CodeGen/AMDGPU/fold-sgpr-multi-imm.mir
Log Message:
-----------
AMDGPU: Avoid folding 2 constant operands into an SALU operation
Summary:
Catch the (admittedly unusual) case where SIFoldOperands attempts to fold 2
constant operands into the same SALU operation, with neither operand able to be
encoded as an inline constant.
Change-Id: Ibc48d662c9ffd8bbacd154976b0b1c257ace0927
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70896
More information about the All-commits
mailing list