[all-commits] [llvm/llvm-project] 4af5b2: [X86FixupSetCC] Remember the preceding eflags defi...

topperc via All-commits all-commits at lists.llvm.org
Wed Dec 25 10:26:30 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4af5b23db308c89edeb9fdc6dfbe7e6457b22f1d
      https://github.com/llvm/llvm-project/commit/4af5b23db308c89edeb9fdc6dfbe7e6457b22f1d
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-12-25 (Wed, 25 Dec 2019)

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

  Log Message:
  -----------
  [X86FixupSetCC] Remember the preceding eflags defining instruction while we're scanning the basic block instead of looking back for it.

Summary:
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.

Reviewers: RKSimon, spatel, uweigand

Reviewed By: uweigand

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list