PankajDwivedi-25 wrote:

> Why would you restrict this to "non-zero counter values"?

When a waitcnt already has a zero counter value expanding it would just 
generate another waitcnt(0), which provides no additional profiling granularity.
If you believe there's a use case for expanding waitcnt(0), I'd be happy to 
discuss it.



> Why does this need a new subtarget feature?

On this, I am still not fully sure what would be the best approach to handle. I 
there any suggestion from you?

https://github.com/llvm/llvm-project/pull/169345
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to