llvm
25d2e789 - [SYCLLowerIR][GlobalOffset] Avoid erasing live non-GEP/PHI defs (#20447)

Commit
204 days ago
[SYCLLowerIR][GlobalOffset] Avoid erasing live non-GEP/PHI defs (#20447) Follow-up fix for 30e1d2f30ecd, in which collectGlobalOffsetUses walked general def-use chains, not just GEP/PHI. When removing collected pointer defs, only erase instructions that has no use. Non-GEP/PHI intermediates may still have users. --------- Co-authored-by: Alexey Bader <alexey.bader@intel.com>
Author
Parents
Loading