search for: remark_gvn_load_elim

Displaying 1 result from an estimated 1 matches for "remark_gvn_load_elim".

2020 Jan 06
2
Question about opt-report strings
...a unique identifier (?) but I would think an integer value of some sort would be better, so maybe I'm misunderstanding what RemarkName is being used for. I'm imagining something that would end up looking like this: ORE->emit([&]() { return OptimizationRemark(DEBUG_TYPE, diag::remark_gvn_load_elim, LI) << NV("Type", LI->getType()) << setExtraArgs() << NV("InfavorOfValue", AvailableValue); }); with a tablegen file somewhere containing this: def remark_gvn_load_elim: OptRemark< "LoadElim", // R...