X86: remove a dead store (NFC)
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 9 Aug 2015 20:39:09 +0000 (20:39 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 9 Aug 2015 20:39:09 +0000 (20:39 +0000)
commit964343c299d7e0f7ede8c32bf48850a4096ade28
tree02a86650aeafc38e39bd7f0a619f84907eb10ade
parent15a7a337427ce36e5b46367fd450b0f7cd682e1b
X86: remove a dead store (NFC)

The SP was always unconditionally assigned to later, but initialised early.
This delays the initialisation, and avoids the dead store.  Identified by
clang static analysis.  No functional change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244423 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86CallFrameOptimization.cpp