[all-commits] [llvm/llvm-project] 24c901: [instcombine] propagate single use freeze(gep inbo...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Oct 13 09:25:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24c90165742625272b72961405ae00ced356ec74
      https://github.com/llvm/llvm-project/commit/24c90165742625272b72961405ae00ced356ec74
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/freeze.ll

  Log Message:
  -----------
  [instcombine] propagate single use freeze(gep inbounds X)

This is a follow on for D111675 which implements the gep case. I'd originally left it out because I was hoping to actually implement the inrange todo, but after a bit of staring at the code, decided to leave it as is since it doesn't effect this use case (i.e. instcombine requires the op to freeze to be an instruction).

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




More information about the All-commits mailing list