commit | bfa7594241bb1e946a562855af2633986ddeb7a4 | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Sat Sep 15 04:08:52 2018 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Sat Sep 15 04:08:52 2018 +0000 |
tree | e351e6887ddc0a6e9718e5a7409cc7920a1c938f | |
parent | f4a23c677613b2c0230e2e19d2d41e33cb66fecf [diff] |
[CodeGenPrepare] Preserve debug locs in OptimizeExtractBits CodeGenPrepare has a transform that sinks {lshr, trunc} pairs to make it easier for the backend to emit fancy extract-bits instructions (e.g UBFX). Teach it to preserve debug locations and salvage debug values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342319 91177308-0d34-0410-b5e6-96231b3b80d8