Files
clang-p2996/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
Danila Malyutin e20462a069 [StatepointLowering] Use Constant instead of TargetConstant for undef value (#81635)
Prevents isel errors when trying to lower gc relocate of undef value
(which turns into CopyToReg of TargetConstant). Such relocates may occur
after DCE (e.g. after GVN removes some dead blocks) if there are not
passes like instcombine scheduled after to clean them up.

Fixes #80294

---------

Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
2024-02-13 21:58:01 +03:00

53 KiB