[clang] [llvm] [ConstantFold] Remove non-trivial gep-of-gep fold (PR #93823)

Yingwei Zheng via cfe-commits cfe-commits at lists.llvm.org
Thu May 30 07:07:09 PDT 2024


https://github.com/dtcxzyw commented:

> because the DL-aware constant folding will take care of this anyway.

Can you point out where we do this fold?

> I've only kept the straightforward zero-index case, where we just concatenate two GEPs.

Is there a test for this case?


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


More information about the cfe-commits mailing list