summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e236429)
raw | patch | inline | side by side (parent: e236429)
author | Lang Hames <lhames@gmail.com> | |
Tue, 29 May 2012 18:19:54 +0000 (18:19 +0000) | ||
committer | Lang Hames <lhames@gmail.com> | |
Tue, 29 May 2012 18:19:54 +0000 (18:19 +0000) |
ranges for the instruction about to be bundled. This fixes a bug in an external
project where an assertion was triggered due to spurious 'multiple defs' within
the bundle.
Patch by Ivan Llopard. Thanks Ivan!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157632 91177308-0d34-0410-b5e6-96231b3b80d8
project where an assertion was triggered due to spurious 'multiple defs' within
the bundle.
Patch by Ivan Llopard. Thanks Ivan!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157632 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp | patch | blob | history |
index 78a634adf0b7437f43b2549cc4dffa89bfd8283c..bb767a71ecf9096b7d8fa39ad66e0dee3c5c2443 100644 (file)
BundleRanges BR = createBundleRanges(Entering, Internal, Exiting);
+ Entering.clear();
+ Internal.clear();
+ Exiting.clear();
collectRanges(MI, Entering, Internal, Exiting, hasRegMaskOp, OldIdx);
assert(!hasRegMaskOp && "Can't have RegMask operand in bundle.");