[all-commits] [llvm/llvm-project] 497621: [AMDGPU] Remove isLiteralConstant and isLiteralCon...
Jay Foad via All-commits
all-commits at lists.llvm.org
Thu Nov 17 08:49:21 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49762162ea947e944baba4e7e5bab60af9d17c3f
https://github.com/llvm/llvm-project/commit/49762162ea947e944baba4e7e5bab60af9d17c3f
Author: Jay Foad <jay.foad at amd.com>
Date: 2022-11-17 (Thu, 17 Nov 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
Log Message:
-----------
[AMDGPU] Remove isLiteralConstant and isLiteralConstantLike
isLiteralConstant and isLiteralConstantLike were similar to
!isInlineConstant with slight differences like handling isReg operands.
To avoid a profusion of similar functions with undocumented differences,
this patch removes all the isLiteralConstant* variants. Callers are responsible
for handling the isReg case.
Differential Revision: https://reviews.llvm.org/D125759
More information about the All-commits
mailing list