commit | 1187b9b7a729cbf5c6b18e2ba7ce94837a3aafd4 | [log] [tgz] |
---|---|---|
author | Shiva Chen <shiva0217@gmail.com> | Wed May 16 02:57:26 2018 +0000 |
committer | Shiva Chen <shiva0217@gmail.com> | Wed May 16 02:57:26 2018 +0000 |
tree | 43427fe21b4c5a2771bf609cbe2b3c234b450825 | |
parent | 9cbab963e6753bbb7cbce2079c8ee43a57e7f876 [diff] |
[DebugInfo] Only handle DBG_VALUE in InlineSpiller. The instructions using registers should be DBG_VALUE and normal instructions. Use isDebugValue() to filter out DBG_VALUE and add an assert to ensure there is no other kind of debug instructions using the registers. Differential Revision: https://reviews.llvm.org/D46739 Patch by Hsiangkai Wang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332427 91177308-0d34-0410-b5e6-96231b3b80d8