store (load float*) can be optimized to store(load i32*) in InstCombine pass.
Add store (load float*) to isProfitableToHoist to make sure we don't break the opt in InstCombine pass.
Differential D82341
[PowerPC] add store (load float*) pattern to isProfitableToHoist shchenz on Jun 22 2020, 7:03 PM. Authored by
Details
store (load float*) can be optimized to store(load i32*) in InstCombine pass. Add store (load float*) to isProfitableToHoist to make sure we don't break the opt in InstCombine pass.
Diff Detail
Event Timeline
|
Looks like the FIXME is wrong? The default is true, so we should be adding more patterns which are NOT profitable to hoist instead?