[PATCH] D71865: [X86FixupSetCC] Remove the preceding eflags defining instruction while we're scanning the basic block instead of looking back for it.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 21:39:45 PST 2019


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, uweigand.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

We're already scanning forward through the basic block. Might as
well just remember eflags defs instead of doing a bounded search
backwards later.

Based on a comment in D71841 <https://reviews.llvm.org/D71841>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71865

Files:
  llvm/lib/Target/X86/X86FixupSetCC.cpp
  llvm/test/CodeGen/X86/vec-strict-fptoint-512.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71865.235253.patch
Type: text/x-patch
Size: 10061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191225/1a0ee81f/attachment.bin>


More information about the llvm-commits mailing list