[FastISel] Implement translation of entry_value dbg.value intrinsics
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Wed, 24 May 2023 11:53:26 +0000 (07:53 -0400)
committerFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Fri, 26 May 2023 15:34:15 +0000 (11:34 -0400)
commit1898fc1a544aa28d7fd2f55016013b56ed0a6023
treeecefd5e0566a26ae1f2a9fb12a46d3a098931f10
parent62110aabc91d784b2a3a619e675c2830fa623c1e
[FastISel] Implement translation of entry_value dbg.value intrinsics

For dbg.value intrinsics targeting an llvm::Argument address whose expression
starts with an entry value, we lower this to a DEBUG_VALUE targeting the livein
physical register corresponding to that Argument.

Depends on D151332

Differential Revision: https://reviews.llvm.org/D151333
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/test/CodeGen/AArch64/dbg-value-swift-async.ll