]> granicus.if.org Git - llvm/commit
LegalizeSetCCCondCode - Reduce scope of NeedSwap to fix cppcheck warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 29 Aug 2019 10:11:34 +0000 (10:11 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 29 Aug 2019 10:11:34 +0000 (10:11 +0000)
commitc122b862b712f6058e8af4c51346785a78fc3f69
treeba1cb2f5a8dd4537802a9d5b6eace38e0cec8749
parent688e45942a6174a67b55422a4ae75a7edb503ae4
LegalizeSetCCCondCode - Reduce scope of NeedSwap to fix cppcheck warning. NFCI.

No need for this to be defined outside the only switch case its used in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370320 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp