[all-commits] [llvm/llvm-project] e714b9: [InstCombine] Check type compatibility in indexed ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Feb 11 01:16:41 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e714b98fff74a25097fd5a14c61ec5102fd4a1fc
  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/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/test/Transforms/InstCombine/opaque-ptr.ll

  Log Message:
  [InstCombine] Check type compatibility in indexed load fold

This fold could use a rewrite to an offset-based implementation,
but for now make sure it doesn't crash with opaque pointers.

More information about the All-commits mailing list