There is a bug in subexpression elimination under wholestage codegen if the parameter type is byte array.
[Github] Pull Request #31814 (viirya)