set_inactive is actually a kind of operation that is passing certain
value from active threads to inactive threads. In later WWM operation,
the activated threads which were disabled before would read such
values passed to them by set_inactive operation. So I think the
set_inactive is a convergent operation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Does tablegen not infer convergent instructions from the source pattern? I assume not (but I always found this to be a dubious feature)
Comment Actions
I am not familiar with that part. Maybe we still prefer the convergent property being explicitly managed. But I think it might be helpful to at least generate warning if the pattern selection drops convergent property.
Comment Actions
I don't think TableGen makes those kind of inferences, does it?
What it does do in some cases (around MayRead/MayWrite etc.) is complain if there is a mismatch between how the intrinsic is defined vs. how the instruction is defined in a pattern.