When the load value is folded into the sin/cos operation, the
AMDGPU library calls simplifier could still mark the function
as unmodified. Instead ensure if there is an early return,
return whether the load was folded into the sin/cos call.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
I saw this issue when playing with the OpenMM OpenCL test suite with Mesa/Clover. I was using a copy of LLVM with assertions turned on, and it gave me an error about a pass modifying its inputs without marking its inputs as changed.