[llvm] 487fcc8 - Fix `-Wpedantic` warning. NFC.
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 16 21:18:32 PST 2020
Author: Michael Liao
Date: 2020-02-17T00:18:01-05:00
New Revision: 487fcc8d3de43aabfaeb981eaebeb106398117c4
URL: https://github.com/llvm/llvm-project/commit/487fcc8d3de43aabfaeb981eaebeb106398117c4
DIFF: https://github.com/llvm/llvm-project/commit/487fcc8d3de43aabfaeb981eaebeb106398117c4.diff
LOG: Fix `-Wpedantic` warning. NFC.
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp b/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
index 8b6097d3a408..dad841731505 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
@@ -190,7 +190,7 @@ static LegalityPredicate greaterThan(unsigned TypeIdx0, unsigned TypeIdx1) {
return Query.Types[TypeIdx0].getSizeInBits() >
Query.Types[TypeIdx1].getSizeInBits();
};
-};
+}
AMDGPULegalizerInfo::AMDGPULegalizerInfo(const GCNSubtarget &ST_,
const GCNTargetMachine &TM)
More information about the llvm-commits
mailing list