[all-commits] [llvm/llvm-project] 194da3: [Mips] Do not emit instruction teq if divisor is n...

yingopq via All-commits all-commits at lists.llvm.org
Fri Apr 25 02:36:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 194da37b71a07f9959623231a5fa9fd1b11187cd
      https://github.com/llvm/llvm-project/commit/194da37b71a07f9959623231a5fa9fd1b11187cd
  Author: yingopq <115543042+yingopq at users.noreply.github.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M llvm/lib/Target/Mips/MipsFastISel.cpp
    A llvm/test/CodeGen/Mips/Fast-ISel/div-imm.ll

  Log Message:
  -----------
  [Mips] Do not emit instruction teq if divisor is non-zero immediate value in FastISel implementation (#135768)

Add a check before emitting the teq instruction to check whether the
divisor is a non-zero immediate value.

Fix #130629.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list