Issue 87371
Summary `scf.for` with unsigned integer bounds
Labels new issue
Assignees
Reporter andrewb1999
    If I understand correctly, it seems that `scf.for` implicitly assumes that the bounds are signed values (for example, when lowering to CF a signed comparison is created). I am working with a use case where the difference between using i5 unsigned values and i6 signed values is significant, so I would like to be able to use unsigned values with `scf.for` when possible. Am I correct in my understanding that all current use cases for `scf.for` assume the bounds are signed integers? Is there some way to use `scf.for` with unsigned integers? Or would a new op like `scf.ufor` be needed to correctly support this use case?

Thanks for any help here!
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to