aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectOptimize.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2022-07-27 13:39:16 -0700
committerAdrian Prantl <aprantl@apple.com>2022-07-27 13:42:07 -0700
commit719ab04acf97dde76249835b25ab3d246ff95877 (patch)
tree458be00683312397070860888d62e0692aea709b /llvm/lib/CodeGen/SelectOptimize.cpp
parent492245d9596dfb85ce2b9bd8b6d7061865b8a384 (diff)
downloadllvm-719ab04acf97dde76249835b25ab3d246ff95877.zip
llvm-719ab04acf97dde76249835b25ab3d246ff95877.tar.gz
llvm-719ab04acf97dde76249835b25ab3d246ff95877.tar.bz2
[GlobalISel] Handle IntToPtr constants in dbg.value
Currently, the IR to MIR translator can only handle two kinds of constant inputs to dbg.values intrinsics: constant integers and constant floats. In particular, it cannot handle pointers created from IntToPtr ConstantExpression objects. This patch addresses the limitation above by replacing the IntToPtr with its input integer prior to converting the dbg.value input. Patch by Felipe Piovezan! Differential Revision: https://reviews.llvm.org/D130642
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions