llvm-project
889d5bdb - [flang][CUF] Limit Flang LICM for operations with symbol operands. (#191494)

Commit
22 days ago
[flang][CUF] Limit Flang LICM for operations with symbol operands. (#191494) There is probably an ordering issue between `CUFDeviceGlobal` and `OffloadLiveInValueCanonicalization` passes: Flang LICM hoists `fir.address_of` out of `cuf.kernel`, it is pulled back by `OffloadLiveInValueCanonicalization`, but the symbol is never added into the device module because `CUFDeviceGlobal` does not run after. Changing the passes order may take some time, so this is a temporary workaround to unblock #191309. The change is currently NFC.
Author
Parents
Loading