This is an archive of the discontinued LLVM Phabricator instance.

[LAA] Improve the output remark for LoopVectorize
AbandonedPublic

Authored by Allen on Aug 25 2023, 8:57 AM.

Details

Summary

Don't report 'Use #pragma loop distribute(enable) to allow loop
distribution' when we already add #pragma clang loop distribute(enable)

Fixes https://github.com/llvm/llvm-project/issues/64637

Diff Detail

Event Timeline

Allen created this revision.Aug 25 2023, 8:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2023, 8:57 AM
Allen requested review of this revision.Aug 25 2023, 8:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2023, 8:57 AM
Allen retitled this revision from [LAA] Improve the remark output infomation to [LAA] Improve the remark output remarks.Aug 25 2023, 9:00 AM
Allen updated this revision to Diff 553510.Aug 25 2023, 9:06 AM
Allen retitled this revision from [LAA] Improve the remark output remarks to [LAA] Improve the output remark for LoopVectorize.

replace the test under the llvm/test/Transforms/LoopVectorize

Allen updated this revision to Diff 553686.Aug 25 2023, 6:06 PM

adjust some comment in test file

fhahn added inline comments.Aug 29 2023, 7:49 AM
llvm/test/Transforms/LoopVectorize/pr64637.ll
2

As the change is in LoopAccessAnalysis only, can this just be a test running LoopAccessAnalysis (as in llvm/test/Analysis/LoopAccessAnalysis/)?

Allen updated this revision to Diff 554588.Aug 29 2023, 11:49 PM

address comment, replace the case under llvm/test/Analysis/LoopAccessAnalysis and run with LoopAccessAnalysis only

Allen marked an inline comment as done.Aug 29 2023, 11:50 PM
Allen added inline comments.
llvm/test/Transforms/LoopVectorize/pr64637.ll
2

Done, thanks for your suggestion

Allen abandoned this revision.Sep 20 2023, 3:05 AM
Allen marked an inline comment as done.

this was re-submitted as a github PR: https://github.com/llvm/llvm-project/pull/65832