[all-commits] [llvm/llvm-project] 6ba5f8: [InstCombine] Fix incorrect inbounds on GEP of GEP...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 1 13:13:48 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ba5f8c4acb494ecd99a472706075b2153ddccf3
      https://github.com/llvm/llvm-project/commit/6ba5f8c4acb494ecd99a472706075b2153ddccf3
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-01-01 (Wed, 01 Jan 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
    M llvm/test/Transforms/InstCombine/pr26992.ll

  Log Message:
  -----------
  [InstCombine] Fix incorrect inbounds on GEP of GEP (PR44425)

This fixes https://bugs.llvm.org/show_bug.cgi?id=44425. We need to
drop inbounds if one of the GEPs is not inbounds. This was already
done when creating a new GEP, but not when modifying in place.

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




More information about the All-commits mailing list