From 442428540abbf5e07aa8be2f078bcc599a2259da Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 10 Apr 2018 18:21:04 +0000 Subject: [PATCH] [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. llvm-svn: 329734 --- llvm/lib/Target/X86/X86RegisterInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86RegisterInfo.td b/llvm/lib/Target/X86/X86RegisterInfo.td index f652e19d9bd2..da2197e9fbc5 100644 --- a/llvm/lib/Target/X86/X86RegisterInfo.td +++ b/llvm/lib/Target/X86/X86RegisterInfo.td @@ -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