summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-03-29 21:44:44 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-03-29 21:44:44 +0000
commitefd1b30436c4cee6da47c1b39e4d3d658c2ec528 (patch)
tree9e1bf8ba321a8462ecc8606317e33576b2da8ce0 /llvm/lib/Target/AMDGPU
parent03ae399d50890edd031f8d889a10fa36cee8d101 (diff)
downloadbcm5719-llvm-efd1b30436c4cee6da47c1b39e4d3d658c2ec528.tar.gz
bcm5719-llvm-efd1b30436c4cee6da47c1b39e4d3d658c2ec528.zip
AMDGPU: Fix build warning in release
llvm-svn: 328832
Diffstat (limited to 'llvm/lib/Target/AMDGPU')
-rw-r--r--llvm/lib/Target/AMDGPU/SIFrameLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp b/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
index 2eaace44c41..8ffb801cb38 100644
--- a/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
@@ -551,8 +551,6 @@ void SIFrameLowering::emitPrologue(MachineFunction &MF,
if (NeedsRealignment) {
assert(NeedFP);
const unsigned Alignment = MFI.getMaxAlignment();
- const unsigned ZeroLowBits = countTrailingZeros(Alignment);
- assert(ZeroLowBits > 1);
RoundedSize += Alignment;
OpenPOWER on IntegriCloud