[clang] [CIR] Change vectorize_enable loop hint to a bool. (PR #235148)
Bruno Cardoso Lopes via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 23 19:53:13 PDT 2026
================
@@ -24,8 +24,8 @@ cir.func @loops(%c: !cir.bool) {
cir.yield
} step {
cir.yield
- // CHECK: } loop_id distinct{{\[[0-9]+\]}}<> loop_hints < must_progress vectorize_enable vectorize_width = 4 vectorize_scalable = true vectorize_predicate = false interleave_count = 2 unroll = enable unroll_count = 8 distribute = true>
- } loop_id distinct[4]<> loop_hints < must_progress vectorize_enable vectorize_width = 4 vectorize_scalable = true vectorize_predicate = false interleave_count = 2 unroll = enable unroll_count = 8 distribute = true>
+ // CHECK: } loop_id distinct{{\[[0-9]+\]}}<> loop_hints < must_progress vectorize_enable = true vectorize_width = 4 vectorize_scalable = true vectorize_predicate = false interleave_count = 2 unroll = enable unroll_count = 8 distribute = true>
+ } loop_id distinct[4]<> loop_hints < must_progress vectorize_enable = true vectorize_width = 4 vectorize_scalable = true vectorize_predicate = false interleave_count = 2 unroll = enable unroll_count = 8 distribute = true>
----------------
bcardosolopes wrote:
nit: add a `vectorize_enable = false` round-trip too, since that state is the reason for the change.
https://github.com/llvm/llvm-project/pull/235148
More information about the cfe-commits
mailing list