Broken out of https://reviews.llvm.org/D52741
Once that is committed there will be some tests exercising the change, but I can also update the PGO tests to prove the change if needed.
Paths
| Differential D52792
Relax trivial cast requirements in CallPromotionUtils ClosedPublic Authored by scott.linder on Oct 2 2018, 11:22 AM.
Details Summary Broken out of https://reviews.llvm.org/D52741 Once that is committed there will be some tests exercising the change, but I can also update the PGO tests to prove the change if needed.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, mgorny, nhaehnle and 2 others. · View Herald TranscriptOct 2 2018, 11:22 AM scott.linder added a child revision: D52741: [AMDGPU] Add an AMDGPU pass to promote bitcast calls.Oct 2 2018, 11:55 AM Comment Actions LGTM. I think it should be possible to come up with a test using IndirectCallPromotion This revision is now accepted and ready to land.Oct 2 2018, 6:42 PM Closed by commit rL344153: Relax trivial cast requirements in CallPromotionUtils (authored by scott.linder). · Explain WhyOct 10 2018, 9:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 169029 llvm/trunk/lib/Transforms/Utils/CallPromotionUtils.cpp
llvm/trunk/test/Transforms/Util/call-promotion-utils-ptrcast.ll
|