[llvm] [GVN] Look through select/phi when determining underlying object (PR #99509)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 09:19:04 PDT 2024


nikic wrote:

> > getUnderlyingObjectThroughPhisAndSelects() (let me know if you have a better name...)
> 
> maybe `getUnderlyingObjectAggressive` to leave more room for future extensions :)

Sounds reasonable, done!

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


More information about the llvm-commits mailing list