dtcxzyw wrote: > So you're working on exposing the potential issues for mask.load/store in other middle-end passes? No. It seems a bug in SimplifyCFG. > And prefer the 3rd solution? I prefer the second one. https://github.com/llvm/llvm-project/pull/96878