[llvm] 7725b81 - [AMDGPU] Drop unnecessary const from a return type (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 21:02:49 PST 2021
Author: Kazu Hirata
Date: 2021-02-05T21:02:04-08:00
New Revision: 7725b81822f43f5238aeabfc6a8ecd00d0fe4895
URL: https://github.com/llvm/llvm-project/commit/7725b81822f43f5238aeabfc6a8ecd00d0fe4895
DIFF: https://github.com/llvm/llvm-project/commit/7725b81822f43f5238aeabfc6a8ecd00d0fe4895.diff
LOG: [AMDGPU] Drop unnecessary const from a return type (NFC)
Identified with const-return-type.
Added:
Modified:
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index 6deb3c8c47ef..72555e896e37 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -8283,8 +8283,8 @@ SDValue SITargetLowering::lowerFDIV_FAST(SDValue Op, SelectionDAG &DAG) const {
// Returns immediate value for setting the F32 denorm mode when using the
// S_DENORM_MODE instruction.
-static const SDValue getSPDenormModeValue(int SPDenormMode, SelectionDAG &DAG,
- const SDLoc &SL, const GCNSubtarget *ST) {
+static SDValue getSPDenormModeValue(int SPDenormMode, SelectionDAG &DAG,
+ const SDLoc &SL, const GCNSubtarget *ST) {
assert(ST->hasDenormModeInst() && "Requires S_DENORM_MODE");
int DPDenormModeDefault = hasFP64FP16Denormals(DAG.getMachineFunction())
? FP_DENORM_FLUSH_NONE
More information about the llvm-commits
mailing list