[llvm] [AMDGPU][TTI] Threshold bonus to loops whose unrolling makes nested loops unrollable (PR #114579)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 10:33:47 PDT 2024
================
@@ -0,0 +1,84 @@
+; RUN: opt -S -mtriple=amdgcn-- -passes=loop-unroll -debug-only=AMDGPUtti < %s 2>&1 | FileCheck %s
+
+; For @dependent_sub_fullunroll, the threshold bonus should apply
+; CHECK: due to subloop's trip count becoming runtime-independent after unrolling
----------------
shiltian wrote:
Also, please auto-gen the check lines.
https://github.com/llvm/llvm-project/pull/114579
More information about the llvm-commits
mailing list