[NVVMReflect] Improve folding inside of the NVVMReflect pass (#81253)
Summary: The previous patch did very simple folding that only worked for driectly used branches. This patch improves this by traversing the use-def chain to sipmlify every constant subexpression until it reaches a terminator we can delete. The support should work for all expected cases now.
parent
2a6b521b
Please register or sign in to comment