[all-commits] [llvm/llvm-project] a5a8a0: [SelectionDAG] Handle IntToPtr constants in dbg.value
Felipe de Azevedo Piovezan via All-commits
all-commits at lists.llvm.org
Wed Aug 3 11:13:20 PDT 2022
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2022-08-03 (Wed, 03 Aug 2022)
[SelectionDAG] Handle IntToPtr constants in dbg.value
The function `handleDebugValue` has custom logic to handle certain kinds
constants, namely integers, floats and null pointers. However, it does
not handle constant pointers created from IntToPtr ConstantExpressions.
This patch addresses the issue by replacing the Constant with its
A similar bug was addressed for GlobalISel in D130642.
Reviewed By: aprantl, #debug-info
Differential Revision: https://reviews.llvm.org/D130908
More information about the All-commits