[all-commits] [llvm/llvm-project] ea81ce: Revert "X86InstrInfo: Support immediates that are ...

bgra8 via All-commits all-commits at lists.llvm.org
Fri Dec 10 14:02:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea81cea8163a1a0e54df42103ee1c657bbf03791
      https://github.com/llvm/llvm-project/commit/ea81cea8163a1a0e54df42103ee1c657bbf03791
  Author: Bogdan Graur <bgraur at google.com>
  Date:   2021-12-10 (Fri, 10 Dec 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86InstrInfo.h
    M llvm/test/CodeGen/X86/optimize-compare.mir
    R llvm/test/CodeGen/X86/peep-test-5.ll
    M llvm/test/CodeGen/X86/use-cr-result-of-dom-icmp-st.ll

  Log Message:
  -----------
  Revert "X86InstrInfo: Support immediates that are +1/-1 different in optimizeCompareInstr"

This reverts commit 847a6807332b13f43704327c2d30103ec0347c77.

The reverted revision was causing miscompiles that manifest on AMD
machines.

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




More information about the All-commits mailing list