commit | 392f7d970c0e15441f47d4e137ccc77ecb3d793a | [log] [tgz] |
---|---|---|
author | Gerolf Hoflehner <ghoflehner@apple.com> | Tue Aug 12 07:54:12 2014 +0000 |
committer | Gerolf Hoflehner <ghoflehner@apple.com> | Tue Aug 12 07:54:12 2014 +0000 |
tree | c93f5111beb9e83aeb41c4c92beb760e23dfda2f | |
parent | 2925be515b30aa8a69d156849aaf5896c5cbcc9a [diff] |
[MachineCombiner] Fix for ICE bug 20598 The combiner ignored DBG nodes when checking the uses of a virtual register. It combined a sequence like %vreg1 = madd %vreg2, %vreg3,... DBG_VALUE (%vreg1 ...) %vreg4 = add %vreg1,... to %vreg4 = madd %vreg2, %vreg3 leaving behind a dangling DBG_VALUE with a definition. This triggered an assertion in the MachineTraceMetrics.cpp module. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215431 91177308-0d34-0410-b5e6-96231b3b80d8