Issue 178987
Summary [HLSL] Prevent convergent wave ops from being placed into switch statements with fallthrough
Labels new issue
Assignees
Reporter bob80905
    Convergent wave ops are not well-specified in terms of behavior when placed in a switch statement containing fallthrough.
Yet, Clang does generate this construct, with this minimal shader:
https://godbolt.org/z/faKrWWM37
Apparently the SimplifyCFG pass is responsible for creating this construct.
We need to make an exception for wave ops that are convergent.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to