[DebugInfo][NFC] Fixup the UserValue methods to use FragmentInfo
authorOCHyams <orlando.hyams@sony.com>
Tue, 11 Feb 2020 10:07:03 +0000 (10:07 +0000)
committerOCHyams <orlando.hyams@sony.com>
Tue, 11 Feb 2020 10:20:24 +0000 (10:20 +0000)
commit35e0ab647bfcb904057ce97f3c449e7e4845f672
tree2287419444dd5d758e23d8f6f2b59ef3f45ec319
parent3aa33fde03d139a19b4e6182e9d4c865b240218c
[DebugInfo][NFC] Fixup the UserValue methods to use FragmentInfo

Fixup the UserValue methods to use FragmentInfo instead of DIExpression because
the DIExpression is only ever used to get the to get the FragmentInfo. The
DIExpression is meaningless in the UserValue class because each definition point
added to a UserValue may have a unique DIExpression.

Reviewed By: aprantl
Differential Revision: https://reviews.llvm.org/D74057
llvm/lib/CodeGen/LiveDebugVariables.cpp