[llvm] [AMDGPU] Identify vector idiom to unlock SROA (PR #161200)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 29 07:47:23 PDT 2025


nikic wrote:

My high level question here is why does this need to be a separate pass rather than integrated in SROA? SROA already has select speculation support. It's currently limited to speculating load/store of select only, but that seems like something that could be generalized? At least the case with CFG modification. (Without CFG modification we need to pick a replacement load/store type.)

https://github.com/llvm/llvm-project/pull/161200


More information about the llvm-commits mailing list