[PATCH] D110867: X86InstrInfo: Support immediates that are +1/-1 different in optimizeCompareInstr

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 04:49:24 PST 2022


MatzeB updated this revision to Diff 397268.
MatzeB added a comment.

Fix incomplete condition (again) on when to abort on eflags being live-out of the block. This fixes the problem reported by @bgraur


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110867/new/

https://reviews.llvm.org/D110867

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110867.397268.patch
Type: text/x-patch
Size: 23922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220104/85238190/attachment.bin>


More information about the llvm-commits mailing list