[llvm] r328832 - AMDGPU: Fix build warning in release
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 29 14:44:44 PDT 2018
Author: arsenm
Date: Thu Mar 29 14:44:44 2018
New Revision: 328832
URL: http://llvm.org/viewvc/llvm-project?rev=328832&view=rev
Log:
AMDGPU: Fix build warning in release
Modified:
llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp?rev=328832&r1=328831&r2=328832&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp Thu Mar 29 14:44:44 2018
@@ -551,8 +551,6 @@ void SIFrameLowering::emitPrologue(Machi
if (NeedsRealignment) {
assert(NeedFP);
const unsigned Alignment = MFI.getMaxAlignment();
- const unsigned ZeroLowBits = countTrailingZeros(Alignment);
- assert(ZeroLowBits > 1);
RoundedSize += Alignment;
More information about the llvm-commits
mailing list