[all-commits] [llvm/llvm-project] 5ae047: [GlobalISel] Fix miscompile of G_UREM + G_UDIV due...

Amara Emerson via All-commits all-commits at lists.llvm.org
Mon Jul 25 16:03:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ae0472694f5d53c0b889a48dc042961291d2341
      https://github.com/llvm/llvm-project/commit/5ae0472694f5d53c0b889a48dc042961291d2341
  Author: Amara Emerson <amara at apple.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-udivrem-use-bug.mir

  Log Message:
  -----------
  [GlobalISel] Fix miscompile of G_UREM + G_UDIV due to not checking for equality
of the first operands of each.

Fixes issue #55287

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




More information about the All-commits mailing list