OSDN Git Service

LiveIntervalAnalysis: Fix handleMove() using wrong value numbers
authorMatthias Braun <matze@braunis.de>
Thu, 28 Apr 2016 02:11:49 +0000 (02:11 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 28 Apr 2016 02:11:49 +0000 (02:11 +0000)
commit289718f19c6402731b9bbbe2d3b9e89aae02f312
tree4e744015b136f8cddd4fabf004be76cb3a285477
parent701c5797e348ec16ed2d8282ce494b5aa96aa288
LiveIntervalAnalysis: Fix handleMove() using wrong value numbers

handleMove() was incorrectly swapping two value numbers. This was missed
before because the problem only occured when moving subregister definitions
and needed -verify-machineinstrs to be detected.

I cannot add a testcase as long as I cannot reapply r260905/r260806.

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