Enable the new diveregence analysis by default for AMDGPU.
Resubmit with test updates since GPUDA was causing failures on Windows.
Paths
| Differential D73315
Resubmit: [DA][TTI][AMDGPU] Add option to select GPUDA with TTI ClosedPublic Authored by kerbowa on Jan 23 2020, 5:15 PM.
Details Summary Enable the new diveregence analysis by default for AMDGPU. Resubmit with test updates since GPUDA was causing failures on Windows.
Diff Detail
Event TimelineComment Actions What has caused the failure? Will it happen on Windows in real life? I saw it was about unreachable loop, is that a real problem of the new DA? Comment Actions
Yes, it seems like it's a real problem. kerbowa added a parent revision: D73323: [DA] Don't propagate from unreachable blocks.Jan 23 2020, 7:59 PM This revision is now accepted and ready to land.Jan 24 2020, 1:39 AM Closed by commit rGc2266463377a: Resubmit: [DA][TTI][AMDGPU] Add option to select GPUDA with TTI (authored by kerbowa). · Explain WhyJan 24 2020, 10:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 240246 llvm/include/llvm/Analysis/LegacyDivergenceAnalysis.h
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/atomics.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/intrinsics.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/kernel-args.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/llvm.amdgcn.buffer.atomic.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/llvm.amdgcn.image.atomic.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/loads.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/no-return-blocks.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/phi-undef.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/unreachable-loop-block.ll
llvm/test/Analysis/LegacyDivergenceAnalysis/AMDGPU/workitem-intrinsics.ll
|