[llvm] 4f85136 - AMDGPU: Remove extra parentheses
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 4 14:40:58 PDT 2023
Author: Matt Arsenault
Date: 2023-08-04T17:40:54-04:00
New Revision: 4f851361e47475817e4aa04d3bc68d30144d239d
URL: https://github.com/llvm/llvm-project/commit/4f851361e47475817e4aa04d3bc68d30144d239d
DIFF: https://github.com/llvm/llvm-project/commit/4f851361e47475817e4aa04d3bc68d30144d239d.diff
LOG: AMDGPU: Remove extra parentheses
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
index e9df1892396617..6c4d2934447c5b 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
@@ -5095,7 +5095,7 @@ void AMDGPUInstructionSelector::renderSetGLC(MachineInstrBuilder &MIB,
void AMDGPUInstructionSelector::renderFrameIndex(MachineInstrBuilder &MIB,
const MachineInstr &MI,
int OpIdx) const {
- MIB.addFrameIndex((MI.getOperand(1).getIndex()));
+ MIB.addFrameIndex(MI.getOperand(1).getIndex());
}
bool AMDGPUInstructionSelector::isInlineImmediate16(int64_t Imm) const {
More information about the llvm-commits
mailing list