Now that RegistersDefinedFromSameValue handles one instruction being an
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 1 Jul 2012 17:08:01 +0000 (17:08 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 1 Jul 2012 17:08:01 +0000 (17:08 +0000)
commit9c3d5a70f40f9e7bb90f3cb8ec1d87cff6e3f0ae
tree88824de000b5e42fd0e3cc787c771d415888da49
parent8f40f7b8676ae7931baaecb1046a21f09471384b
Now that RegistersDefinedFromSameValue handles one instruction being an
implicit_def, the other instruction can be anything, including instructions
that define multiple values. Be careful about that and don't assume what operand
0 is.
Fixes pr13249.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159509 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp
test/CodeGen/ARM/pr13249.ll [new file with mode: 0644]