llvm-project
a527a883 - [AMDGPU] Disable generic DAG combines at -O0 to preserve debuggability.

Commit
9 days ago
[AMDGPU] Disable generic DAG combines at -O0 to preserve debuggability. Disable generic DAG combines for AMDGPU at -O0 via disableGenericCombines() to preserve instructions that users may want to set breakpoints on during debugging. Since power-of-2 division/remainder for types > i64 was dependent on DAG combine optimizations, added shouldExpandPowerOf2DivRem() to request IR-level expansion for these cases at -O0.
Author
Committer
Parents
Loading