[all-commits] [llvm/llvm-project] d1d7d2: [AggressiveInstCombine] Fix cases where non-opaque...

David Stuttard via All-commits all-commits at lists.llvm.org
Wed Oct 5 05:44:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1d7d2235ced0a959bf0d2513f8adc50c0e5efd8
      https://github.com/llvm/llvm-project/commit/d1d7d2235ced0a959bf0d2513f8adc50c0e5efd8
  Author: David Stuttard <david.stuttard at amd.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp

  Log Message:
  -----------
  [AggressiveInstCombine] Fix cases where non-opaque pointers are used

In the case of non-opaque pointers, when combining consecutive loads,
need to bitcast the pointer source to the combined type size, otherwise
asserts are triggered.

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




More information about the All-commits mailing list