[all-commits] [llvm/llvm-project] cb1a9f: [InstSimplify] Add trivial simplifications for gc....

Danila Malyutin via All-commits all-commits at lists.llvm.org
Tue Feb 13 15:16:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb1a9f70ecb22d48df1919bd54daf64bfaa08864
      https://github.com/llvm/llvm-project/commit/cb1a9f70ecb22d48df1919bd54daf64bfaa08864
  Author: Danila Malyutin <danilaml at users.noreply.github.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/gc_relocate.ll

  Log Message:
  -----------
  [InstSimplify] Add trivial simplifications for gc.relocate intrinsic (#81639)

Fold gc.relocate of undef and null to undef and null respectively.

Similar transform is currently done by instcombine, but there is no
reason to not include it here as well.




More information about the All-commits mailing list