When we move then-else code to if, we need to merge its debug info, otherwise the hoisted instruction may have inaccurate debug info attached.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 9318 Build 9318: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with an improved testcase.
test/Transforms/SimplifyCFG/min_dbginfo.ll | ||
---|---|---|
4 | This test also passes when opt is symlinked to /bin/— can you add a positive check, too? |
test/Transforms/SimplifyCFG/min_dbginfo.ll | ||
---|---|---|
4 | I meant to say ... to /bin/true. |
This test also passes when opt is symlinked to /bin/— can you add a positive check, too?