[all-commits] [llvm/llvm-project] 467eec: [InstCombine] fold gep-of-select-of-constants (PR4...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Mar 10 06:25:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 467eec09109f37646ada72a4fbb1ef99eec8bb09
      https://github.com/llvm/llvm-project/commit/467eec09109f37646ada72a4fbb1ef99eec8bb09
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-03-10 (Tue, 10 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/mem-gep-zidx.ll

  Log Message:
  -----------
  [InstCombine] fold gep-of-select-of-constants (PR45084)

As shown in:
https://bugs.llvm.org/show_bug.cgi?id=45084
...we failed to combine a gep with constant indexes with a
pointer operand that is a select of constants.

Differential Revision: https://reviews.llvm.org/D75807




More information about the All-commits mailing list