[all-commits] [llvm/llvm-project] 5da0f9: [GlobalISel] Fix infinite loop in reassociationCan...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Thu Jul 15 10:19:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5da0f9ab612d8677c74705521700677966344d48
      https://github.com/llvm/llvm-project/commit/5da0f9ab612d8677c74705521700677966344d48
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-ptradd-reassociation.mir

  Log Message:
  -----------
  [GlobalISel] Fix infinite loop in reassociationCanBreakAddressingModePattern

It didn't update the opcode while walking through G_INTTOPTR/G_PTRTOINT.

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




More information about the All-commits mailing list