[llvm] [InstCombine] Canonicalize more geps with constant gep bases and constant offsets. (PR #110033)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 00:36:11 PDT 2024


================
@@ -238,6 +238,8 @@ class LLVM_LIBRARY_VISIBILITY InstCombinerImpl final
   std::optional<std::pair<Intrinsic::ID, SmallVector<Value *, 3>>>
   convertOrOfShiftsToFunnelShift(Instruction &Or);
 
+  Value *EmitGEPOffset(GEPOperator *GEP, bool RewriteGEP = false);
----------------
nikic wrote:

Why did this move?

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


More information about the llvm-commits mailing list