[PATCH] D45154: [x86] Model the direction flag (DF) separately from the rest of EFLAGS.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 2 12:56:51 PDT 2018


chandlerc added a comment.

In https://reviews.llvm.org/D45154#1054633, @efriedma wrote:

> > I need that to happen for DF as well.
>
> You do...?  DF isn't actually undefined at any point; the x86 ABI says DF is clear on entry to/exit from a function.


Sorry for being imprecise...

I need *some* magic for making the LLVM "use of undefined physreg" complaints go away. It could be marking it as defined on entry. It could be something else.


Repository:
  rL LLVM

https://reviews.llvm.org/D45154





More information about the llvm-commits mailing list