SIGN IN SIGN UP

Fix Inductor bool vector mask casts (#184155)

Teach C++ codegen to route bool vector mask casts through an Inductor helper that supports both VecMask and raw Vectorized<bool> values, and add focused compile/codegen coverage for the regression.

Fixes #146306
Generated by my agent

Pull Request resolved: https://github.com/pytorch/pytorch/pull/184155
Approved by: https://github.com/oulgen, https://github.com/jgong5, https://github.com/ydwu4
J
Jason Ansel committed
b92213abd9e148c048457068d57a956ebd7a0497
Parent: 915f357
Committed by PyTorch MergeBot <pytorchmergebot@users.noreply.github.com> on 8/25/2026, 11:21:15 PM