[llvm] [InstCombine] ptrmask of gep for dynamic pointer aligment (PR #80002)

Jon Chesterfield via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 07:01:58 PST 2024


JonChesterfield wrote:

Added tests for non-i8 and for vector types (which don't work as implemented, it makes extracting the value messier).

Likewise this was only written for constantints as that's the main dynamic-align use case.

Could we have this as an initial patch and leave extending demanded bits for a follow on, at which point this transform might be deleted while the tests remain? I'm mainly trying to unblock test cases for variadic function lowering where the ptrmask nop gets in the way

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


More information about the llvm-commits mailing list