llvm-project
fab6b85e
- [AMDGPU] Fold fmul with zero checks to fmul.legacy
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
6 days ago
[AMDGPU] Fold fmul with zero checks to fmul.legacy Recognize f32 multiplication with zero checks in AMDGPUCodeGenPrepare, including fabs/fneg wrappers. Example: ``` (x == 0 || y == 0) ? +0.0 : x * y ==> llvm.amdgcn.fmul.legacy(x, y) ```
References
users/harrisonGPU/fmul-legacy
#229357 - [AMDGPU] Fold fmul with zero checks to fmul.legacy
Author
harrisonGPU
Committer
harrisonGPU
Parents
b6396d74
Loading