[all-commits] [llvm/llvm-project] 05663d: [InstSimplify] Don't lose inbounds when simplifyin...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Thu Sep 23 01:25:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05663dc14644d12d688155d55ba267e7b7e69817
      https://github.com/llvm/llvm-project/commit/05663dc14644d12d688155d55ba267e7b7e69817
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/InstructionSimplify.h
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/PHITransAddr.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/test/Transforms/InstSimplify/simplify-nested-bitcast.ll

  Log Message:
  -----------
  [InstSimplify] Don't lose inbounds when simplifying a GEP

I noticed this while working on a (ptrtoint (gep null, x)) -> x fold.

Reviewed By: nikic

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




More information about the All-commits mailing list