[all-commits] [llvm/llvm-project] 3571bd: [InstCombine] Require equal source element type in...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Feb 11 00:39:45 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3571bdb4f38426bd781e2cb91fb20fa5593685a6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/opaque-ptr.ll

  Log Message:
  [InstCombine] Require equal source element type in icmp of gep fold

Without opaque pointers, this is implicitly enforced. This previously
resulted in a miscompile.

More information about the All-commits mailing list