[all-commits] [llvm/llvm-project] 4580ac: [GlobalISel] Walk through hints in getDefIgnoringC...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Thu Jan 28 14:29:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4580acf6752ea3cc884657b5aa3e174bed86fc8c
      https://github.com/llvm/llvm-project/commit/4580acf6752ea3cc884657b5aa3e174bed86fc8c
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-select.mir

  Log Message:
  -----------
  [GlobalISel] Walk through hints in getDefIgnoringCopies et al

Treat hint instructions like G_ASSERT_ZEXT like COPY instructions in helpers
which walk through copies.

This ensures that instructions like G_ASSERT_ZEXT won't impact any optimizations
that rely on these helpers.

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




More information about the All-commits mailing list