[PATCH] D106450: [InstCombine] Fold (gep (oneuse(gep Ptr, Idx0)), Idx1) -> (gep Ptr, (add Idx0, Idx1)) (PR51069)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 23 10:44:39 PDT 2021
RKSimon added a comment.
I'm going to be on PTO again soon so I'm going to revert this change to unblock you guys, I'll revisit this when I get back - for x86 at least I believe we'll be able to handle it with basic CMOV handling inside X86DAGToDAGISel::matchAddressRecursively.
But for @Whitney's AIX case I'm still not sure.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106450/new/
https://reviews.llvm.org/D106450
More information about the llvm-commits
mailing list