Add modify-maximal-reconvergence to spirv-opt help (#5546)

This commit is contained in:
alan-baker 2024-01-25 15:53:11 -05:00 committed by GitHub
parent 0045b01ff9
commit 69197ba90b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -335,6 +335,12 @@ Options (in lexicographical order):)",
These conditions are guaranteed to be met after running
dead-branch elimination.)");
printf(R"(
--modify-maximal-reconvergence=[add|remove]
Add or remove the MaximallyReconvergesKHR execution mode to all
entry points in the module.
Note: when adding the execution mode, no attempt is made to
determine if any ray tracing repack instructions are used.)");
printf(R"(
--loop-unswitch
Hoists loop-invariant conditionals out of loops by duplicating
the loop on each branch of the conditional and adjusting each