[llvm] r329734 - [X86] Change the name string for the newly add DF flag register to 'dirflag' to match the clobber name supported by clang for MS inline assembly.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 10 11:21:05 PDT 2018
Author: ctopper
Date: Tue Apr 10 11:21:04 2018
New Revision: 329734
URL: http://llvm.org/viewvc/llvm-project?rev=329734&view=rev
Log:
[X86] Change the name string for the newly add DF flag register to 'dirflag' to match the clobber name supported by clang for MS inline assembly.
This should fix the failure found by Chromium reported here https://bugs.chromium.org/p/chromium/issues/detail?id=831158
The test case will be added in clang.
Modified:
llvm/trunk/lib/Target/X86/X86RegisterInfo.td
Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86RegisterInfo.td?rev=329734&r1=329733&r2=329734&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86RegisterInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86RegisterInfo.td Tue Apr 10 11:21:04 2018
@@ -275,7 +275,7 @@ def FPSW : X86Reg<"fpsw", 0>;
def EFLAGS : X86Reg<"flags", 0>;
// The direction flag.
-def DF : X86Reg<"DF", 0>;
+def DF : X86Reg<"dirflag", 0>;
// Segment registers
More information about the llvm-commits
mailing list