[all-commits] [llvm/llvm-project] cbc50b: [AggressiveInstCombine] Handle the nested GEP/BitC...

bipmis via All-commits all-commits at lists.llvm.org
Wed May 24 02:36:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbc50ba12e61a3cc311908bfdf532d37f917ccf4
      https://github.com/llvm/llvm-project/commit/cbc50ba12e61a3cc311908bfdf532d37f917ccf4
  Author: bipmis <biplob.mishra at arm.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/test/Transforms/AggressiveInstCombine/AArch64/or-load.ll
    M llvm/test/Transforms/AggressiveInstCombine/X86/or-load.ll

  Log Message:
  -----------
  [AggressiveInstCombine] Handle the nested GEP/BitCast scenario in Load Merge.

This seems to be an issue currently where there are nested/chained GEP/BitCast Pointers.
The patch generates a new GEP for the wider load to avoid dominance problems.

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




More information about the All-commits mailing list