[all-commits] [llvm/llvm-project] dc63d6: [ConstantFold] Push extractelement into getelement...

jayfoad via All-commits all-commits at lists.llvm.org
Tue Oct 29 03:34:49 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dc63d6175aa5692db1670dc9ee7a1f304e752d87
      https://github.com/llvm/llvm-project/commit/dc63d6175aa5692db1670dc9ee7a1f304e752d87
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp

  Log Message:
  -----------
  [ConstantFold] Push extractelement into getelementptr's operands

This fixes a minor oversight mentioned in the review of D69379:
we should push extractelement into the operands of getelementptr
regardless of whether that enables further folding.




More information about the All-commits mailing list