]> granicus.if.org Git - llvm/commit
[DAG] LegalizeVectorTypes - reduce scope of local variables. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 28 May 2019 13:46:26 +0000 (13:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 28 May 2019 13:46:26 +0000 (13:46 +0000)
commitdc11b08566850180726de6fae0f4dbac57ca6736
tree8b501be794fcba77c722ac75253e6e269387c0e5
parentef2f407ef9701ea9d6033ad0853211904b16c8e4
[DAG] LegalizeVectorTypes - reduce scope of local variables. NFCI.

Move the element index/count variables into the block where they are actually used - appeases cppcheck and helps avoid shadow variable warnings.

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